Eugene Cheipesh
Eugene Cheipesh
This project is not able to parse OGC URNs for projections, this would have to be a feature that is added. Indeed only a single version of EPSG database is...
Obviously GDAL does this somehow. But besides that I would love to identify a couple of reference resources that look like they can be used to do this in a...
To clarify these issue further, this would not the the CRS EPSG but rather the EPSG code of the Projection or `OperationMethod` in EPSG parlance. For instance [`EqualAreaAzimuthalProjection.java`](https://github.com/locationtech/proj4j/blob/master/src/main/java/org/locationtech/proj4j/proj/EqualAreaAzimuthalProjection.java) would be...
Just to be explicit: ```scala val key: SpatialKey = ??? val e: Extent = mt.keyToExtent(key) // Map Extent covered by the key val gb: GridBounds = mt.extentToBounds(e) // Key bounds...
@metasim I think you hit the nail on the head there, the result is going to be different tiers of API intended for different goals. The distinction somewhat exists right...
```scala scala> val re = RasterExtent( Extent(179.89374929576, -12.674583081471548, 180.10708262824002, -12.461249749), 256,256) re: geotrellis.raster.RasterExtent = GridExtent(Extent(179.89374929576, -12.674583081471548, 180.10708262824002, -12.461249749),CellSize(8.3333333000013E-4,8.333333299669829E-4),256x256) scala> re.reproject(LatLng, WebMercator) java.lang.IllegalArgumentException: Encountered NaN during a refinement step: (NaN /...
So what is happening here is that one of the x points is over 180 degrees. Proj4j transformation clips any x greater than 180 degrees to 180: ```scala // this...
I'm not sure, the symptom is that midpoint and one of the endpoints that are pest meridian are going to look the same, so value of `deflect` will be result...
Well, its certainly not helpful behavior. I'm still not clear about the root cause. Diving into `proj4j` code there is nothing that would explain the clipping in projection: https://github.com/locationtech/proj4j/blob/5ba8168a5e0346b79e5f7d2fd2bc25a68fba0670/src/main/java/org/locationtech/proj4j/proj/MercatorProjection.java#L32-L41
Related: https://github.com/locationtech/geotrellis/issues/2913