Template:Zh OpenStreetMap Internal: Difference between revisions

From Documentation
Jump to navigation Jump to search
(Created page with "In Paths properties '''Layer type''' is * KML (Internal Parser) * GPX (Internal Parser) By user requests I decided to create my own file parser. For example, your file can...")
 
mNo edit summary
Line 1: Line 1:
== Description Predefined Types ==
In Paths properties '''Layer type''' is
In Paths properties '''Layer type''' is


Line 13: Line 15:
Now processed next tags
Now processed next tags


'''KML''' file
=== '''KML''' file ===


''Style'' - style definition  
''Style'' - style definition  
** IconStyle
* IconStyle
** LineStyle
* LineStyle
** PolyStyle
* PolyStyle




Line 25: Line 27:


''Placemark'' - objects
''Placemark'' - objects
** Point - placemarks
* Point - placemarks
** MultiGeometry
* MultiGeometry
*** LineString - polylines
** LineString - polylines
*** Polygon - polygons
** Polygon - polygons
** Polygon - polygons
*** MultiTrack
* Polygon - polygons
*** gx:Track - polylines
** MultiTrack
** gx:Track - polylines
** gx:Track - polylines
* gx:Track - polylines
''Folder''
''Document''
=== Path properties ===
The next Path properties can apply to layer
=== Map properties ===


* Folder
The next Map properties can apply to layer
* Document

Revision as of 12:23, 3 October 2019

Description Predefined Types

In Paths properties Layer type is

  • KML (Internal Parser)
  • GPX (Internal Parser)


By user requests I decided to create my own file parser.

For example, your file can contain not only one line with different colors (or other properties), and you want to use internal settings from file.

Moreover, when I have all data parsed, I can control and add different features. For exmple, you can use placemark clusterization for placemarks (Points or Waypoints) from file.

Now processed next tags

KML file

Style - style definition

  • IconStyle
  • LineStyle
  • PolyStyle


StyleMap - styles (normal, highlight) - hovering case


Placemark - objects

  • Point - placemarks
  • MultiGeometry
    • LineString - polylines
    • Polygon - polygons
  • Polygon - polygons
    • MultiTrack
    • gx:Track - polylines
  • gx:Track - polylines


Folder


Document


Path properties

The next Path properties can apply to layer


Map properties

The next Map properties can apply to layer