Forum

Author Topic: Import reference data in other coordinate system than WGS84 fails.  (Read 4594 times)

andrekje

  • Jr. Member
  • **
  • Posts: 63
    • View Profile
If I add a csv containing EPSG::25833 markers ,selecting in the import dialog that coordinate system, it will show up in the marker list, but *no* markers will be in the map correct area.

If I convert the .csv markers to ESPG::4326, using gdaltransform, then import it as EPSG::4326  - it'll work properly.

Somehow, "Import CSV" dialog - does not really treat the coordinates as EPSG::25833.

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 14104
    • View Profile
Re: Import reference data in other coordinate system than WGS84 fails.
« Reply #1 on: August 02, 2016, 03:32:00 PM »
Hello andrekje,

Can you post a couple of lines that you are importing here or send csv to support@agisoft.com, in case the data is sensible?

Also please specify at what step you are importing markers.
Best regards,
Alexey Pasumansky,
Agisoft LLC

andrekje

  • Jr. Member
  • **
  • Posts: 63
    • View Profile
Re: Import reference data in other coordinate system than WGS84 fails.
« Reply #2 on: August 02, 2016, 04:28:42 PM »
11,595269.241,7713834.723,38.888
12,595667.803,7713703.429,50.052
13,595265.431,7713576.524,53.329
13b,595277.185,7713572.551,54.214
14,595052.570,7713358.175,64.187
15,595326.465,7713361.184,67.023

Importing after photos are aligned and dense cloud.

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 14104
    • View Profile
Re: Import reference data in other coordinate system than WGS84 fails.
« Reply #3 on: August 02, 2016, 05:08:19 PM »
Hello andrekje,

And are the coordinates of the camera positions already loaded to the Reference pane? If so and in case the coordinate system for the cameras is different you need to uncheck all cameras (camera.reference.enabled = False) and change the coordinate system for the chunk to EPSG::25833. Otherwise if the cameras are in WGS84 the GCP coordinates would be treated as degrees.
Best regards,
Alexey Pasumansky,
Agisoft LLC

andrekje

  • Jr. Member
  • **
  • Posts: 63
    • View Profile
Re: Import reference data in other coordinate system than WGS84 fails.
« Reply #4 on: August 02, 2016, 11:06:52 PM »
yes, JPG's are tagged with WGS84.
I would expect the .csv import dialog, which asks for coordinate system, to convert as needed once indicated an incompatible system.  - you could do that :)

on an related matter - please answer http://www.agisoft.com/forum/index.php?topic=5679.0  :)
Thank you,

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 14104
    • View Profile
Re: Import reference data in other coordinate system than WGS84 fails.
« Reply #5 on: August 03, 2016, 01:35:02 PM »
Hello andrekje,

Choosing the coordinate system in the Import CSV dialog doesn't convert the coordinate system in the active chunk, but just switches it, so the cameras should be unchecked in the Reference pane, since the coordinate information for them is no longer valid  for the new coordinate system. After unchecking the cameras and placing marker projections, press Update button on the Reference pane.
Best regards,
Alexey Pasumansky,
Agisoft LLC