As far as I can see there is nothing in the GeoJSON standard to store styling information, i.e. line colours, thicknesses etc.
Am I missing something or is this just something that GeoJSON doesn't deal with?
|
As far as I can see there is nothing in the GeoJSON standard to store styling information, i.e. line colours, thicknesses etc. Am I missing something or is this just something that GeoJSON doesn't deal with? |
||||
|
|
|
For GeoJOSN CSS is used to style your points,line, polygons with thickness & colour
|
|||||||||||
|
|
i think it is all about types of spelling and you can add more definition if you want. i dont think it is so important for not taking part in json spec...there is no limit for json object, only important thing is your json have to be valid for correct usage... and i have checked
and the last thing to say is that you can check your geojson file whether valid or not from JSONLint which is a JSON Validator... i hope it helps you |
|||||||
|
|
GeoJSON doesn't deal with this. Any style information is going to depend on what the renderer is, Geojson CSS seams to target SVG but you also have Carto which targets mapnik, do remember that you can add extra fields to GeoJSON and it will still validate so none of these are invalid GeoJSON. |
|||
|
|