Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

11
  • EPSG::3006 has axes of Northing/Easting, is it possible you have the axes in the wrong order in your bounding box? Commented Nov 15, 2019 at 17:34
  • It may be. I am just passing the results of sf st_bbox to a paste() call that builds the query. Commented Nov 15, 2019 at 17:35
  • So st_bbox( ) gives me coordinates in the order: xmin, ymin, xmax, ymax. Do you reckon that I'd need them to be xmin, xmax, ymin, ymax instead? Commented Nov 15, 2019 at 17:39
  • What if you use ogrinfo with -spat option Commented Nov 15, 2019 at 17:40
  • The problem is what are X and Y? Generally X should be taken as the first listed axis (North) and Y the second listed axis (East) Commented Nov 15, 2019 at 17:42