Shapefile to GeoJSON with simple style
Clash Royale CLAN TAG#URR8PPP
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty margin-bottom:0;
up vote
1
down vote
favorite
Does anyone know if there are any applications can support exporting Shapefile to GeoJSON and keeping the style?
shapefile geojson symbology export
add a comment |Â
up vote
1
down vote
favorite
Does anyone know if there are any applications can support exporting Shapefile to GeoJSON and keeping the style?
shapefile geojson symbology export
5
Shapefiles do not store styles either. Your software saves them in some other way which may be possible to transform or not. What software do you use and how do you plan to use the GeoJSON data?
â user30184
Aug 15 at 5:55
add a comment |Â
up vote
1
down vote
favorite
up vote
1
down vote
favorite
Does anyone know if there are any applications can support exporting Shapefile to GeoJSON and keeping the style?
shapefile geojson symbology export
Does anyone know if there are any applications can support exporting Shapefile to GeoJSON and keeping the style?
shapefile geojson symbology export
shapefile geojson symbology export
edited Aug 15 at 9:12
nmtoken
7,57642763
7,57642763
asked Aug 15 at 5:13
Dev Lydart
61
61
5
Shapefiles do not store styles either. Your software saves them in some other way which may be possible to transform or not. What software do you use and how do you plan to use the GeoJSON data?
â user30184
Aug 15 at 5:55
add a comment |Â
5
Shapefiles do not store styles either. Your software saves them in some other way which may be possible to transform or not. What software do you use and how do you plan to use the GeoJSON data?
â user30184
Aug 15 at 5:55
5
5
Shapefiles do not store styles either. Your software saves them in some other way which may be possible to transform or not. What software do you use and how do you plan to use the GeoJSON data?
â user30184
Aug 15 at 5:55
Shapefiles do not store styles either. Your software saves them in some other way which may be possible to transform or not. What software do you use and how do you plan to use the GeoJSON data?
â user30184
Aug 15 at 5:55
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
6
down vote
GeoJSONs do not store style, just feature geometry and attribute data. The only way you could save the style is if you were to embed the style properties as an attribute, for instance creating an attribute called colour
and populating it with what colour each feature should be.
Incidently, shapefiles do not store style, either. The style is applied by whatever application is loading the data.
Or rather there is no standardized way for storing the styles. You can for example store styles as strings into an OGR_STYLE field according to gdal.org/ogr_feature_style.html and some software that utilize GDAL may be able to use the attribute for styling. Mapserver can but I do not know other examples.
â user30184
Aug 15 at 9:38
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
6
down vote
GeoJSONs do not store style, just feature geometry and attribute data. The only way you could save the style is if you were to embed the style properties as an attribute, for instance creating an attribute called colour
and populating it with what colour each feature should be.
Incidently, shapefiles do not store style, either. The style is applied by whatever application is loading the data.
Or rather there is no standardized way for storing the styles. You can for example store styles as strings into an OGR_STYLE field according to gdal.org/ogr_feature_style.html and some software that utilize GDAL may be able to use the attribute for styling. Mapserver can but I do not know other examples.
â user30184
Aug 15 at 9:38
add a comment |Â
up vote
6
down vote
GeoJSONs do not store style, just feature geometry and attribute data. The only way you could save the style is if you were to embed the style properties as an attribute, for instance creating an attribute called colour
and populating it with what colour each feature should be.
Incidently, shapefiles do not store style, either. The style is applied by whatever application is loading the data.
Or rather there is no standardized way for storing the styles. You can for example store styles as strings into an OGR_STYLE field according to gdal.org/ogr_feature_style.html and some software that utilize GDAL may be able to use the attribute for styling. Mapserver can but I do not know other examples.
â user30184
Aug 15 at 9:38
add a comment |Â
up vote
6
down vote
up vote
6
down vote
GeoJSONs do not store style, just feature geometry and attribute data. The only way you could save the style is if you were to embed the style properties as an attribute, for instance creating an attribute called colour
and populating it with what colour each feature should be.
Incidently, shapefiles do not store style, either. The style is applied by whatever application is loading the data.
GeoJSONs do not store style, just feature geometry and attribute data. The only way you could save the style is if you were to embed the style properties as an attribute, for instance creating an attribute called colour
and populating it with what colour each feature should be.
Incidently, shapefiles do not store style, either. The style is applied by whatever application is loading the data.
answered Aug 15 at 6:32
1saac
992315
992315
Or rather there is no standardized way for storing the styles. You can for example store styles as strings into an OGR_STYLE field according to gdal.org/ogr_feature_style.html and some software that utilize GDAL may be able to use the attribute for styling. Mapserver can but I do not know other examples.
â user30184
Aug 15 at 9:38
add a comment |Â
Or rather there is no standardized way for storing the styles. You can for example store styles as strings into an OGR_STYLE field according to gdal.org/ogr_feature_style.html and some software that utilize GDAL may be able to use the attribute for styling. Mapserver can but I do not know other examples.
â user30184
Aug 15 at 9:38
Or rather there is no standardized way for storing the styles. You can for example store styles as strings into an OGR_STYLE field according to gdal.org/ogr_feature_style.html and some software that utilize GDAL may be able to use the attribute for styling. Mapserver can but I do not know other examples.
â user30184
Aug 15 at 9:38
Or rather there is no standardized way for storing the styles. You can for example store styles as strings into an OGR_STYLE field according to gdal.org/ogr_feature_style.html and some software that utilize GDAL may be able to use the attribute for styling. Mapserver can but I do not know other examples.
â user30184
Aug 15 at 9:38
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgis.stackexchange.com%2fquestions%2f292809%2fshapefile-to-geojson-with-simple-style%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
5
Shapefiles do not store styles either. Your software saves them in some other way which may be possible to transform or not. What software do you use and how do you plan to use the GeoJSON data?
â user30184
Aug 15 at 5:55