Johann Sorel

Results 20 comments of Johann Sorel

Would you be okay if I provide a patch to add a simple CoordinateOperationFactory API (ISO 19111) ?

Here is the new file coordinateOperations.js : ``` /** * Simplified version of ISO 19111 : Geographic information — Referencing by coordinates * * CoordinateOperation * @typedef {Object} CoordinateOperation *...

Here is an example of what returns our server for CRS:84 to EPSG:3395 (I know proj4js can do this, but it's just an example). ``` /* * The valid geographic...

Because many tools/libs use Proj4JS and are using it's transformation functions for points,geometry,raster reprojection. We can't rewrite all tools/libs to use a different api. :) So let's improve it :...

the new transforms are registered in proj4js with `proj4.registerCoordinateOperationFactory(myFactory);` at the beginning. We just have to use projections clearly identifiable with projName `CRS-Asteroid-NV45`, something the factory will handle.

For OpenLayer the addCoordinateTransforms will work I think yes (I'm already playing with this demo). I don't know ProJ coordinate operation API, but since a few versions ago Proj has...

The forward and inverse transforms are to/from latlong if I'm correct ?

> That sounds like a very uncommon use case to me. Your [example above](https://github.com/proj4js/proj4js/issues/488#issuecomment-2476105066) also defines a transform with longlat as source. In the example, the server takes the following...

> May I ask which libraries except OpenLayers you are using with Proj4js? I'm still under the impression that when you have your exact transforms between the exact projections you're...

> [@jsorel](https://github.com/jsorel) could you please explain what the issue was with `polygonToCellsExperimental()`, and perhaps give it another try with a version including that PR? I had 3 different behaviours :...