Shapefile to GeoJSON with simple style

The name of the pictureThe name of the pictureThe name of the pictureClash 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?










share|improve this question



















  • 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
















up vote
1
down vote

favorite












Does anyone know if there are any applications can support exporting Shapefile to GeoJSON and keeping the style?










share|improve this question



















  • 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












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?










share|improve this question















Does anyone know if there are any applications can support exporting Shapefile to GeoJSON and keeping the style?







shapefile geojson symbology export






share|improve this question















share|improve this question













share|improve this question




share|improve this question








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












  • 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










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.






share|improve this answer




















  • 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










Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "79"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: false,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













 

draft saved


draft discarded


















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






























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.






share|improve this answer




















  • 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














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.






share|improve this answer




















  • 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












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.






share|improve this answer












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.







share|improve this answer












share|improve this answer



share|improve this answer










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
















  • 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

















 

draft saved


draft discarded















































 


draft saved


draft discarded














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













































































Popular posts from this blog

How to check contact read email or not when send email to Individual?

Displaying single band from multi-band raster using QGIS

How many registers does an x86_64 CPU actually have?