derhuerst/parse-gml-polygon

Parse gml:Point as GeoJSON geometry of type Point

Open

#14 aperta il 18 lug 2018

Vedi su GitHub
 (0 commenti) (1 reazione) (0 assegnatari)JavaScript (2 fork)github user discovery
hacktoberfesthelp wanted

Metriche repository

Star
 (12 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

According to GML 3.1.1, gml:Point may contain:

  • gml:pos
  • gml:coordinates (deprecated)
  • gml:coord (deprecated)

In GML 2.1.2, gml:Point may contain:

  • gml:coordinates
  • gml:coord

In GML 3.2.1, gml:Point may contain:

  • gml:pos

  • gml:coordinates

  • coord contains:

    • X,
    • Y (optional),
    • Z (optional)
  • coordinates contains a string, also has attributes

    • decimal (default .) - decimal separator,
    • cs (default ,) - coordinate separator,
    • ts (default ) - tuple separator.

Guida contributor