srid 2056 transformation #980
Closed
FabianRechsteiner
started this conversation in
General
Replies: 2 comments 5 replies
-
@FabianRechsteiner take a look at this example which applies a transform on a geometry column in 4326 to convert it to 3857 at query time: https://github.com/go-spatial/tegola/tree/master/mvtprovider/postgis#example-mvt_postgis-and-map-config-for-srid-4326 |
Beta Was this translation helpful? Give feedback.
5 replies
-
Excellent! I always love the tegola generated style renders. Thanks for sharing yours ;-) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I have a PostGIS table named avprodukt.dk_einzelpunkt_mv containing point data in the EPSG:2056 coordinate system. Now, I want to serve these data as Vector Tiles (EPSG:3857).
However, when running the server, I encounter the following error message:
Error: could not register providers: could not generate SQL, for layer (dk_einzelpunkt_mv): Error trying to convert tile point: don't know how to convert from 2056 to 3857.
I am using the provider type "postgis" and the parameter
srid = 2056
.What do I need to adjust to ensure that the data are transformed to 3857 before tiling?
Thank you for your assistance.
Regards,
Fabian
Beta Was this translation helpful? Give feedback.
All reactions