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

learn more… | top users | synonyms

9
votes
2answers
14k views

setStyle() function for GeoJSON features - Leaflet

Ok, since I already asked a very long question about this, but since it didn't get any new replies for a while, and not to get confused in details, I will keep this one simple the best way I can. If ...
0
votes
1answer
23 views

How to delete features/records in ArcGIS Online hosted service using Python

How to delete features/records in ArcGIS Online hosted service using Python? I need to delete some features using Python from a feature services hosted in ArcGIS Online. I read a similar post that ...
1
vote
1answer
186 views

How do I get layer feature type in OpenLayer?

I am new in openlayer and I wanted to add a modify feature function in my application, for this I need to know the feature type of the layer (i.e Point, Polygon or line). Because as per the feature ...
2
votes
1answer
21 views

In QGIS combine multiple polygon parts of a single feature

This is a repost of my unsolved QGIS dilema. The image shows a single selected feature that consists of two polygons and the corresponding attribute table. Some nodes of the left poly have been ...
3
votes
0answers
42 views

Combine multiple adjoining parts of a single feature

In QGIS, one polygon feature resulted from merger of several adjacent polygons. This one new polygon feature has a single line through it that I would like to eliminate. When hovering over individual ...
-1
votes
0answers
26 views

QGIS 2.2 - Split line feature at node [closed]

I've tried several times to split a line by feature and by parts on a node but I haven't got the expected result. What should I do?
0
votes
1answer
2k views

Get layer name by click on features OpenLayers3

I want to add selec interactions to my OL3 map. Adding two different select interactions like this is not working. Only the second one works. Like this: var select = new ...
2
votes
0answers
52 views

“Geometry cannot have Z values” exception in ArcGIS Engine

I'm trying to put a list of point features (selected points) into a new FeatureClass. but when I add them to my FeatureClass I get the "Geometry cannot have Z values." exception on the line ...
3
votes
2answers
1k views

Deleting records from multiple, similar feature classes by attribute values using SQL statement in ArcGIS Desktop?

I have several hundred geodatabase feature classes which all have the exact same fields. I need to go through each of those feature classes and delete any records which match an SQL query (the same ...
1
vote
1answer
2k views

Having trouble selecting polygon from existing layer (using OpenLayers.Control.SelectFeature)

I am hoping someone can point me in the right direction. I am not a programmer, so that is my first roadblock. ha The problem: I have an existing polygon layer and I am trying to select one of the ...
2
votes
1answer
2k views

How to deactivate Vector Selection In OpenLayers wms features

This is my sample code and work fine :), But I have a little problem, I'm using multiple layers (WMS), when I zoom the layer will be shown or hidden. In my example bellow when OpenLayers level zoom ...
0
votes
1answer
205 views

Openlayers selected feature unselecting on map zoom

I have createc a select control and a StyleMap that includes default marker and select marker. var mystyle = new OpenLayers.StyleMap({ "default": new OpenLayers.Style("null", { ...
3
votes
2answers
6k views

Updating selected feature/record using ArcObjects (VBA)?

I would like to edit a selected feature/record via ArcMap vba, but I'm not having much luck with this code sample (see code below). I'm not getting an error, but the record selected is not updating. ...
0
votes
1answer
258 views

How to submit data to modify feature using applyEdits of ArcGIS API for JavaScript?

I'm new to ArcGIS API. In a form, how can you submit data to modify a feature using applyEdits? No map is involved with this. I have a form that populates the editable data with javascript. When the ...
2
votes
1answer
264 views

Shapes not matching number of records

I am trying to merge features (polygons) from 7 subregions in ArcGIS (v10.x). Merge goes fine but when I do any other process on it (e.g. Adding a field, calculations etc), the merged file is ...
5
votes
1answer
10k views

How to get features in Openlayers vector layer

What is the exact API to get all features in a vector layer in OpenLayers? Suppose I have the "map" object, within which is a "Vector Layer": how can I obtain features in the layer?
0
votes
1answer
1k views

How to find nearest city using Geonames features codes

I've got about 300,000 lat/lng coordinates of events that I'm combining into a large map. The coordinates come from all over the world. For each point, I want to find the nearest city of at least XYZ ...
0
votes
0answers
15 views

Create polyline at latitude line

I would like to create a polyline shapefile that runs along a line of latitude between two points of longitude. I have been able to create a line by creating a new shapefile, then editing the vertices ...
1
vote
1answer
1k views

OpenLayers create marker (feature with icon) from WKT

I have a point object WKT. Like this: POINT (25.04568 48.221548). Also I have an icon in my project folder. My goal is to show on a map an icon that represents a feature. Can it be just a normal ...
0
votes
2answers
25 views

Feature class imported table as points and now want to display

In ArcCatalog and ArcMap 10. I have set up a feature class with all the fields I want to populate. I have data in a table format which includes wasting and birthing columns. I used the load data to ...
0
votes
2answers
49 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 ...
1
vote
1answer
57 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: ...
1
vote
2answers
357 views

Zooming to feature in QGIS?

I have a shapefile that I created of points on each structure and address in the city. We have been working in ArcMap Desktop for 6 or 7 years and depend heavily on being able to simply go to "find", ...
7
votes
1answer
324 views

Feature/label visibility based on spatial relationship to index feature using data-driven pages

I'm creating a series of maps using ArcGIS data driven pages. I know how to display features that share an attribute with the index layer, but is it possible to display features (and similarly, ...
1
vote
1answer
28 views

Google satellite Image_Features

What is the method to close labels and features on satellite images of Google maps? NOTE: I don't want to use classic version of google map or use of history of google map. What i want to remove or ...
1
vote
1answer
25 views

Apply symbol to each feature (Categorized symbol)

I want to apply unique symbol to each feature. i have used following code for doing that from qgis.core import * from PyQt4.QtGui import * # supply path to where is your qgis installed ...
0
votes
2answers
37 views

how to draw coordinates along the lanes using MultiLineString instead of LineString

I trying to draw lines along the path of the lanes on the map using openlayer3 but i am not getting any lines on the lanes there is no error in the developers console as well <!DOCTYPE html> ...
1
vote
1answer
41 views

How to get the selected features - javascript api

I am totally new to geocortex. I am using Geocortex HTML5, javascript api After using identify tool to select features, how can I get the selected featureset in code?
2
votes
2answers
445 views

QGIS equivalent to “Features to Line” ArcGIS tool

I have a python script in Arc10 that uses the features to line tool. I however don't have the license to run it. I was wondering if there is a Qgis tool or process that would essentially do the same ...
6
votes
4answers
1k views

Can someone help me identify this part of the map?

I'm sure 1 is a road, but what are those bumps on the side? I'm guessing 2 is a footpath. I have no idea what 3 is, if you don't know what it is, fine, let's leave it at that. I searched for what ...
10
votes
4answers
8k views

Get all the points of a polyline

I have some polyline feature objects in python. Now I want to get all the points of polylines. For example, if a polyline has start point [0,0] end point [5,5]. Result: ...
1
vote
2answers
78 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") ...
0
votes
0answers
10 views

How to get feature ID correctly in Near table?

I have generated a near table using ArcToolbox, and there are 50 points in two datasets. The feature ID for input and near are quite bigger than normal, as the left one in the enclosed picture. I have ...
5
votes
1answer
56 views

How to define precisely the radius size when using 'select features by radius' in QGIS

I'd like to select features with circles having precise radius in QGIS. By default this tool is freehand so it is hard to get a precise value.
4
votes
1answer
80 views

Select feature one by one and save it as image

I have used following code for selecting the features and save it as image. layer = self.iface.activeLayer(); layer.setSelectedFeatures([]) count =layer.featureCount() lstChalta = [] lstFeatures = ...
1
vote
2answers
506 views

Error on FeatureClass To FeatureClass conversion arcpy

I am currently working on a python script where I am trying to copy selected features into a feature dataset. Basically I have an mxd containing some layers, and for each layer I select features by ...
0
votes
3answers
98 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
54 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 ...
0
votes
0answers
40 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
184 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 ...
2
votes
4answers
518 views

QGIS “Delete ring” no longer works

I have QGIS 2.4.0. Until just today, the "Delete ring" feature worked just fine. Now it no longer works at all. I rebooted and even reinstalled QGIS 2.4, and it didn't fix the problem. But I also ...
1
vote
1answer
30 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 ...
25
votes
5answers
18k views

What is difference between map layer and spatial dataset (e.g. feature class, shapefile)?

What is the difference between feature class and feature layer? To me they seems very similar in concept.
2
votes
0answers
27 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
39 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
11 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 ...
1
vote
0answers
69 views

Features in .shp can't be identified & won't render in QGIS? [closed]

Using QGIS 2.4.0 on Windows 7 Service pack 1. I have several .shp's, all polygons, that give me the following problem: 293 features are listed in the metadata and shown in the attribute table but ...
0
votes
2answers
97 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
30 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
0answers
337 views

Render order of vector features in OpenLayers 3

In a web map application I have a vector layer from a GeoJSON source of country borders. The layer loads perfectly and interactions such as ol.interaction.select works fine as well. I want to style ...