A representation of a real-world objects on a map.

learn more… | top users | synonyms

0
votes
3answers
347 views

How do you read/write a FeatureCollection from/to a json file?

I am trying to read in a json FeatureCollection (geojson 1.3.1) Python (2.7), add some properties, and write it back out to a json file (or string). I can read the file, and modify the properties, ...
3
votes
2answers
82 views

Splitting up selected islands using ArcGIS for Desktop?

What I'm trying to do is to split up that selected islands as single-part features/ polygons. But not all of them, you can see some little dots around the islands are like a part of the island. So I ...
0
votes
0answers
78 views

ArcGis Feature layer does not display symbols consistently on web browers

I have a Feature layer that does not display symbols consistently. Symbols at certain locations are randomly not be visible. Zooming in-out will randomly show/hide a symbol at a particular location ...
4
votes
2answers
385 views

fixing polygons with “ring not closed” errors

I have a shapefile with a single Polygon feature. This feature has a "ring not closed" geometry error (seen here in QGIS): I tried using buffering and the GRASS v.clean command as suggested in other ...
1
vote
2answers
147 views

QGIS 2.10 Unable to add features to a memory layer

I'm trying to add features to a memory layer. This is the layer creation : memlayer=QgsVectorLayer("{zr_typegeom}?crs=epsg:4326".format(zr_typegeom = typegeom), "memlayer", "memory") ...
1
vote
1answer
69 views

How to set color of single features with Python

I have a layer with cities. I want to set a different color for a specific country. I can iterate through all cites (features) and change the color of ALL features but not only of single ones. How can ...
2
votes
0answers
41 views

How to make a shake animation adding feature on openlayers 3

Have you an idea of animate function to shake a feature when it's added to the map ? I've found only this animation from openlayers 3 samples: Animate feature example openlayers 3
3
votes
1answer
44 views

Choosing aesthetic location over physical location?

I am in the process of putting together an infrastructure map for my city. We have received some engineering maps (and CAD files) that are assisting me in my task. I have also gone out and gathered ...
1
vote
0answers
14 views

Features becomes bigger on zooming in Openlayers 2.13

i'm new in developing Openlayers applications.I want to add Points and LinearRing objects to the same layer. My Problem is, when I add a LinearRing and I am zomming in, the geometry gets bigger and ...
0
votes
2answers
124 views

Point feature plots in wrong place in QGIS?

I am using QGIS 2.12 on Mac OS X Yosemite 10.10.5. I have a single point with given latitude and longitude. I want to create a new vector layer (shapefile) which will plot one point on the map ...
0
votes
2answers
263 views

How to convert projected coordinates to geographic coordinates without ArcGIS? [closed]

I'm trying to convert a series of points from Easting Northing to LatLong, I have this working perfectly in Arc but ideally I would like the algorithm to do it through our own system. It is a huge ...
1
vote
1answer
50 views

Download openstreetmap data filtered by specific changeset comment

From openstreetmap, I want to download only the features that have specific change set comments (like #ABC). I already know how to download OSM data (using JOSM) and found this webpage shows filtered ...
1
vote
1answer
43 views

How can I remove feature selection from my layeroverlay in mapguide API?

I can add feature to my layeroverlay on mapguide API, but I don't know how to remove it. Can you help me find a method to remove a feature from a selection ? This is how i add features to my layer : ...
3
votes
1answer
476 views

String of coordinates into Openlayers-3 Linestring on Vector Layer

I getting a string of coordinates like so: [[38.313072, -89.863845] ,[38.312675, -89.863586] ,[38.310405, -89.862091] ,[38.310405, -89.862091] ,[38.309913, -89.861976] ,[38.309768, -89.861976] ,[38....
2
votes
1answer
50 views

Making an ArcGIS Online Presentation wont let add shapes because they are more than 10,000 features

How can I add a shape that has more than 10,000 features to make a map in Online ArcGIS? Since it is only to show a sample of the work that has been achieved I could cut out information but I don't ...
1
vote
0answers
32 views

How to create a raster “grading” several different layers (polygons)

So I have a bunch of different shapefiles loaded into qgis: i.e.: - shape of poor soil quality - shape of cheap land areas - shape of poor weather areas now I would like to create a map which "...
0
votes
2answers
78 views

Getting around WFS Feature Count

Im trying to access a WFS where the feature count is limited at each extent (ie layer with 1000 feature with a limit of 100 for extent). Whether or not its to maintain performance or purely just being ...
1
vote
1answer
1k views

Openlayers 3: Access feature by ID

I want to create a map with openlayers, add feature points, let people move the points and retrieve the new coordinates later. I have searched the net for two days but all I found was an example where ...
1
vote
2answers
184 views

Adding properties to pop ups in leaflet maps

I have a leaflet map which display pop-ups that give the name of a country when clicked. How can I add additional properties and have them all displayed, similar to this map http://lotrproject.com/map....
2
votes
2answers
197 views

How to get all rivers from OSM using Overpass?

i'm trying to get the files for Rivers, for most rivers i search for them in the Wizard using name=example and waterway=example and this works fine. For many rivers and canals overpass doesnt seem to ...
1
vote
1answer
125 views

Cannot activate the Feature Search in ArcGIS Online?

I'm trying to use the feature search in ArcGIS Online, but until now without any luck. I have followed this instructions: https://doc.arcgis.com/en/arcgis-online/create-maps/configure-feature-search....
1
vote
1answer
90 views

Problem creating polygon in a layer

I am working in c++ qt4.8.5 and api qgis 2.8.2 c++. In my application I had to put polygon to define attractive zone. I found a great post in stackexchange (86812). I have based my on this post and on ...
1
vote
0answers
75 views

About performance of qgis with big layer or a lot of layer

does anyone has a feedback on the performance of a big layer by exemple : I have a layer with 100 features, each feature contains specifics attributes with dynamic data, the data change each second ...
1
vote
2answers
125 views

is it possible programmatically to rotate a svg of the feature without rotate all feature

I am working on a project that need to move and update the shape of the feature of the layer. I am working in c++/ QT4.8.5 and qgis api c++ 2.8.2. In my Layer I have a lot of features, each feature ...
1
vote
1answer
47 views

Max Number of Feature Selection in ArcGIS and QGIS [closed]

What are the limitations on the maximum number of features that you can select in ArcMap and QGIS?
3
votes
1answer
114 views

Is it possible to change the geometry without startEditing the layer

I am working in c++/QT 4.5 with the QGis 2.8.2 API. I had to change the geometry of features in a layer each second. Each second new data comes from the Ethernet connection, the application gets the ...
1
vote
1answer
49 views

How to change programmatically the value of attribute in one of several feature in a vectorLayer

I have a vectorlayer that contains a lot of feature, I know that each feature has an unique Id Each of them has some propertie like coordinateX, coordinateY, color, name With a QTimer, each 2 sec I ...
1
vote
1answer
21 views

Building error on changegeometryvalues

I am working with c++/QT and c++api gqis 2.8.2 I want to change the geometry of a feature, I have this code : QgsVectorLayer * lLayer = mMapLayer.value(TRACKS); QgsVectorDataProvider * lDataProvider;...
1
vote
1answer
117 views

Selecting features within bounding box using QGIS?

What is the best way within QGIS to select all of the features within a rectangular bounding box? Is it necessary to create a separate layer with the box, then to use the intersection tool within ...
0
votes
0answers
44 views

Modifying attributes of a shapefile using java

I have a polygon vector shape-file in which each feature has an integer attribute. I want to update this integer attribute(for all features) programatically using java on regular intervals of time. ...
1
vote
1answer
61 views

How to add a point in a empty vetorLayer creadted in memory

I am working in c++/qt 4.5 and qgis api c++ 2.8.2 I had to create and empty vectorLayer and add Point I saw in the qgis cookbook that it is possible to create a vector layer in memory ,I did that, and ...
1
vote
1answer
131 views

QGIS print composer atlas shortcut next feature

I have 25 features in the atlas of the print composer and I need to check every feature before exporting. It's quite annoying to always click the field in the status bar, so I wanted to use the ...
2
votes
1answer
2k views

OpenLayers3 change Layer source URL (or replace features loaded from another URL)

I have a map with a Vector layer, containing features from a GeoJSON source: var map = new ol.Map({ layers: [new ol.layer.Tile({ source: new ol.source.OSM() }), ...
3
votes
1answer
94 views

Add Features from KML to a GeoPackage using GeoTools

Using GeoTools v13.2 I need to add features to a GeoPackage from KML. So far I can get the features in a SimpleFeatureCollection which can be added to the GeoPackage: public void ...
1
vote
1answer
422 views

Label only selected feature using QGIS?

Is it possible to make an expression that labels only the selected feature in QGIS? I tried it with this expression in the label tab: attribute( $currentfeature, 'LAENGE' ) But it labels all and not ...
1
vote
1answer
101 views

GeoTools Geometries lost when storing features to shapefile [duplicate]

As you know, the geometry column name of schema for saving into a shapefile must be "the_geom". I have a SimpleFeatureCollection with a schema, geometry name of which is not "the_geom"; It is "...
0
votes
3answers
158 views

Spatially Joining census tracts to neighborhood shapefile?

I have a bunch of census tracts that I want to spatially join with larger neighborhood geographies so that the numeric fields of the census tracts are summed on the join. A spatial join based on ...
1
vote
0answers
48 views

VectoreLayer Still Empty even if attribute has been set with value

I am working with the qgis api c++ 2.8.2, my application is written in QT 4.5.3 / C++ I had to create a vectorlayer in memory with attributes and features and export it to a shp file to import it in ...
1
vote
0answers
37 views

Iteratively Change Object's Instance Attributes PyQGIS

I am trying to create new instance attributes (NOT feature attributes) for a collection of features in a vector layer in PyQGIS. I'm getting some weird results and am wondering if this is even ...
2
votes
2answers
468 views

Adding a Polygon to an OpenLayers3 Map with coordinates read from a string

I do have a bunch of coords as a string read from a wps request result. I want to display these coordinates as a new layer added to the exisiting map. What I do is to split the string by containing ...
0
votes
0answers
74 views

Snapping feature nodes doesn't work after feature creation (filter involved)

I've experienced a strange behaviour during editing mode: I have set a filter to 2 features (polygons), part of on of my PostGIS layers: "name"='A' OR "name"='B' After that I have created a new ...
1
vote
2answers
398 views

How to select features containing specific text string using an expression in QGIS

I need to style a survey parcel polygon shapefile, based on whether the polygon is a mineral claim or not. Unfortunately, the only information on whether a polygon is a mineral claim or not is ...
1
vote
1answer
123 views

How to change the colour of a Feature on a FeatureLayer using ArcGIS Android 10.2.6 API

I have a featurelayer generated from offline shapefile read from SD Card, with shapes representing houses. Android version is 4.2, API is ArcGIS Android 10.2.6. The user would select a shape/feature ...
3
votes
1answer
2k views

How to read feature class in file geodatabase using R?

I have a feature contained in a geodatabase that is larger than 2GB as an exported shapefile. I need to run an extract function in R to attribute the polygons with data from a raster file. Exporting ...
3
votes
1answer
52 views

How do I edit multiple features at one time?

In my case, there are about 30 overlaid features. How do I select all and edit them at one time? I want to reshape the features, mainly using the node tool to reshape a straight line into a (fake) ...
1
vote
1answer
235 views

Vector Click Event is not working

Actually I figured out some problems and corrected it. I declared the overlay just outside the init function. So now I got the 'featureselected' event working properly. But 'featureunselected' event ...
2
votes
1answer
91 views

How can I display annotations for certain features?

I am trying to display annotations for single features. I know it is possible to display annotations for layers, and for that entire map, but I would like to display them based on a SINGLE selected ...
1
vote
0answers
54 views

ArcGIS Android negative feature OID

I am attempting to add a feature to an existing feature layer hosted on the ArcGIS for developers website. However, when I attempt to apply edits to the map, it does not ever actually add it, and when ...
0
votes
2answers
153 views

Split multipart shapefile into separate shapefiles [closed]

I have a multipart shapefile, which I would like to split into many individual shapefiles (by FID for example). Is there some way to do this in ArcGIS 10.x without using python?
-2
votes
1answer
73 views

How to get all feature and attribute list from OpenStreetMap? [closed]

I want to get the list of all features their attribute list for my application from OpenStreetMap. Where can I get that?