Esri / Esri/geometry-api-java

OperatorExportToGeoJson doesn't export the spatial reference.

Ouverte
#49 0 commentaires 0 réactions 1 personne assignée Réclamée par @abalog Voir sur GitHub
enhancement
Langage dominant
Java
Étoiles
710
Forks
269
Merge moyen
7 j 23 h
PR mergées (30 j)
1

Description

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.

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.