Forum

Author Topic: lines in orthomosaic when exporting in web mercator projection  (Read 3960 times)

jeremyeastwood

  • Jr. Member
  • **
  • Posts: 55
    • View Profile
lines in orthomosaic when exporting in web mercator projection
« on: December 14, 2016, 02:17:04 AM »
Hi,

I am having an issue  exporting my orthomosaic in web mercator projection (epsg:3857): a blank line (missing pixels) 2 pixels wide appears as a stripe through my output file.  This does not happen when I export in wgs84 (the project coordinate system), or any other projection I have tried.

Some details - I am using version 1.2.6 and exporting with:
 - projection: epsg:3857
 - single tile output (no pixel limits)
 - default boundaries
 - tiff compression: none
 - big tiff: no

I have tried with various different compression settings but there is no difference.  One interesting thing: the stripe appears at exactly 4096 pixels into my output orthomosaic (the ortho I'm testing right now is 4274x3835 pixels, so the missing pixels appear as a vertical line near the right hand edge); when I set the pixel max size to 4096, the stripe is at the edge of each tile (so difficult to see).

Right now my workaround is to export the ortho in wgs84 (epsg:4326), then convert to epsg:3857 afterwards using gdal, however this is slower so not ideal.  Any ideas how I can eliminate the artifacts and export directly in epsg:3857?

Thanks in advance for your help

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 14813
    • View Profile
Re: lines in orthomosaic when exporting in web mercator projection
« Reply #1 on: December 14, 2016, 11:12:48 AM »
Hello jeremyeastwood,

Does it happen only for the exported image or you can see the line in PhotoScan?
Best regards,
Alexey Pasumansky,
Agisoft LLC

jeremyeastwood

  • Jr. Member
  • **
  • Posts: 55
    • View Profile
Re: lines in orthomosaic when exporting in web mercator projection
« Reply #2 on: December 14, 2016, 11:15:33 AM »
Hi Alexey,

I only see the line on the exported orthomosaic (and only when it is exported in web mercator).

Thanks for your help

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 14813
    • View Profile
Re: lines in orthomosaic when exporting in web mercator projection
« Reply #3 on: December 14, 2016, 02:58:05 PM »
Hello jeremyeastwood,

Seems that we were able to reproduce the problem with export in this coordinate system, so I hope we'll fix it in the version 1.3.
Best regards,
Alexey Pasumansky,
Agisoft LLC

jeremyeastwood

  • Jr. Member
  • **
  • Posts: 55
    • View Profile
Re: lines in orthomosaic when exporting in web mercator projection
« Reply #4 on: December 15, 2016, 08:56:56 AM »
Thanks for the update Alexey - will try it out again in 1.3 when it's released!