Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 6955

GeoJSON is a geospatial data interchange format based on JavaScript Object Notation (JSON)

1 vote
Accepted

Selecting independent objects using GeoJSON on OpenLayers

Change vector projection in Openlayers Following the projection proposed in the right answer of that question and using independent id's for each part of the geojson file it is possible to select on hover …
zom-pro's user avatar
  • 323
1 vote
1 answer
1k views

Selecting independent objects using GeoJSON on OpenLayers [duplicate]

I'm working with OpenLayers and loading a couple of GEOJson files which works perfectly. Now I want to be able to select individual components of the GEOJson file. … /nuts3.geojson"; var style = []; i=0; while(i<file.length){ style[i] = new OpenLayers.StyleMap({ pointRadius: 2, strokeColor: 'red', strokeWidth: 1, strokeOpacity: …
zom-pro's user avatar
  • 323
3 votes
2 answers
2k views

Getting JSON feature id on OpenLayers2

I'm projecting some features using JSON format on OpenLayers. I need to get the id from the feature (not the OpenLayers' id but the one in the JSON file). The file looks something like this. {"type" …
zom-pro's user avatar
  • 323
2 votes

Getting JSON feature id on OpenLayers2

Ok, I found it. feature_col[0].fid is the way. It results into 7655199. FID not ID. source: http://chitraswiki.blogspot.de/2009/11/getting-attributes-of.html
zom-pro's user avatar
  • 323