Esri / Esri/geometry-api-java

OperatorExportToGeoJson doesn't export the spatial reference.

Aperta
#49 0 commenti 0 reazioni 1 assegnatario Rivendicata da @abalog Vedi su GitHub
enhancement
Lingua principale
Java
Stelle
710
Fork
269
Merge medio
7g 23h
PR unite (30g)
1

Descrizione

To reproduce, run OperatorExportToGeoJson.local().execute with exportFlags = GeoJsonExportFlags.geoJsonExportDefaults, spatial reference wkid = 3857, and the following geometry:

{"rings":[[[1600,9082],[1600,8682],[1100,8682],[1100,9082],[1600,9082]]]}

The output looks like this:
{"type":"Polygon","coordinates":[[[1600.0,9082.0],[1600.0,8682.0],[1100.0,8682.0],[1100.0,9082.0],[1600.0,9082.0]]]}

It really would be better to have the spatial reference in the output especially since it is an input parameter.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.