derhuerst/parse-gml-polygon

Parse gml:Point as GeoJSON geometry of type Point

Open

#14 opened on Jul 18, 2018

View on GitHub
 (0 comments) (1 reaction) (0 assignees)JavaScript (2 forks)github user discovery
hacktoberfesthelp wanted

Repository metrics

Stars
 (12 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

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.

Contributor guide