Forum

Author Topic: How to use new "Select Points by Shape" feature?  (Read 7218 times)

Jeremiah_ROWE

  • Guest
How to use new "Select Points by Shape" feature?
« on: May 09, 2018, 03:22:40 AM »
I see this in the change log, but am unable to find the command.

• Added Select Points by Shapes command for dense cloud.


Please help!

Jeremiah_ROWE

  • Guest
Re: How to use new "Select Points by Shape" feature?
« Reply #1 on: May 14, 2018, 08:41:20 PM »
I have located the command, but it does not seem to be working.

I have only one shape in the chunk, and when executing the "Select Points by Shapes" command the system says 0% even after 10 minutes.

Has this function been tested yet?

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 15067
    • View Profile
Re: How to use new "Select Points by Shape" feature?
« Reply #2 on: May 14, 2018, 09:04:38 PM »
Filter Points by Shapes function uses the XY coordinates of the selected polygonal shapes as a base of the right prism. The points of the dense cloud inside that prism would be selected.
Best regards,
Alexey Pasumansky,
Agisoft LLC

Jeremiah_ROWE

  • Guest
Re: How to use new "Select Points by Shape" feature?
« Reply #3 on: May 14, 2018, 11:11:43 PM »
Filter Points by Shapes function uses the XY coordinates of the selected polygonal shapes as a base of the right prism. The points of the dense cloud inside that prism would be selected.

I just wanted to let you know that I've tried this new feature on a couple of different projects and it is not working in any of them. It just counts up a timer, but shows 0% and no details.

Any clue what might be wrong? These are previously completed projects that haven't had any problems before.

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 15067
    • View Profile
Re: How to use new "Select Points by Shape" feature?
« Reply #4 on: May 14, 2018, 11:31:51 PM »
Hello Jeremiah,

How many points are there in the dense clouds that you have tested? And if the chunk is georeferenced, which coordinate system is used?
Best regards,
Alexey Pasumansky,
Agisoft LLC

Jeremiah_ROWE

  • Guest
Re: How to use new "Select Points by Shape" feature?
« Reply #5 on: May 14, 2018, 11:33:06 PM »
Hello Jeremiah,

How many points are there in the dense clouds that you have tested? And if the chunk is georeferenced, which coordinate system is used?

Hello Alexey

Various point clouds have been between 20 and 150 million, all using ESPG 6499.

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 15067
    • View Profile
Re: How to use new "Select Points by Shape" feature?
« Reply #6 on: May 16, 2018, 07:35:14 PM »
Hello Jeremiah,

That seems strange, I've tried to work with large dense cloud in this coordinate system, but for 500M point project selection by shape takes about 5-15 seconds depending on the area covered by the shape.
Is there anything special in all these projects or in shapes used?
Best regards,
Alexey Pasumansky,
Agisoft LLC

Jeremiah_ROWE

  • Guest
Re: How to use new "Select Points by Shape" feature?
« Reply #7 on: May 17, 2018, 08:00:55 PM »
The main problems are coming up when working in chunks that have multiple dense clouds. I think it has something to do with when multiple dense clouds exist within the same chunk.

Hello Jeremiah,

That seems strange, I've tried to work with large dense cloud in this coordinate system, but for 500M point project selection by shape takes about 5-15 seconds depending on the area covered by the shape.
Is there anything special in all these projects or in shapes used?

TillEulenspiegel

  • Newbie
  • *
  • Posts: 1
    • View Profile
Re: How to use new "Select Points by Shape" feature?
« Reply #8 on: July 05, 2018, 05:28:02 PM »
Hi
I think i have shape and Pointcloud in the same coordinate system EPSG: 2056

chunk coordinate System:

PROJCS["CH1903+ / LV95",GEOGCS["CH1903+",DATUM["CH1903+",SPHEROID["Bessel 1841",6377397.155,299.1528128,AUTHORITY["EPSG","7004"]],TOWGS84[674.374,15.056,405.346,0,0,0,0],AUTHORITY["EPSG","6150"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.01745329251994328,AUTHORITY["EPSG","9102"]],AUTHORITY["EPSG","4150"]],PROJECTION["Oblique_Mercator",AUTHORITY["EPSG","9815"]],PARAMETER["latitude_of_center",46.95240555555561],PARAMETER["longitude_of_center",7.439583333333329],PARAMETER["azimuth",90],PARAMETER["recitified_grid_angle",90],PARAMETER["scale_factor",1],PARAMETER["false_easting",2600000],PARAMETER["false_northing",1200000],UNIT["metre",1,AUTHORITY["EPSG","9001"]],AUTHORITY["EPSG","2056"]]

shp coordinate System:

PROJCS["CH1903+_LV95",GEOGCS["GCS_CH1903+",DATUM["D_CH1903+",SPHEROID["Bessel_1841",6377397.155,299.1528128]],PRIMEM["Greenwich",0],UNIT["Degree",0.017453292519943295]],PROJECTION["Hotine_Oblique_Mercator_Azimuth_Center"],PARAMETER["latitude_of_center",46.95240555555556],PARAMETER["longitude_of_center",7.439583333333333],PARAMETER["azimuth",90],PARAMETER["scale_factor",1],PARAMETER["false_easting",2600000],PARAMETER["false_northing",1200000],UNIT["Meter",1]]

what should I change?

thanks for the help!
regards Till

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 15067
    • View Profile
Re: How to use new "Select Points by Shape" feature?
« Reply #9 on: July 06, 2018, 04:23:48 PM »
Hello Till,

You can execute the following line in PhotoScan Console:
Code: [Select]
PhotoScan.app.document.chunk.shapes.crs = PhotoScan.app.document.chunk.crs
Or export the PRJ for the chunk coordinate system and substitute with it the original projection file that comes with the shape file (you need to do it before importing shapes to PhotoScan then).
Best regards,
Alexey Pasumansky,
Agisoft LLC

lemu94

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: How to use new "Select Points by Shape" feature?
« Reply #10 on: June 10, 2020, 03:04:30 PM »
Hello EveryBody,

what is the command to do "Select points by shape" please ?