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

learn more… | top users | synonyms

28
votes
5answers
20k 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.
10
votes
4answers
9k 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,1];[2,2];[3,3];[4,4];[5,5]...
7
votes
4answers
21k views

Cutting features to do opposite of clipping in ArcGIS Desktop? [duplicate]

What´s the easiest/smartest way of getting the opposite output of the clipping tool? I just need the area of feature A1 which is not covered by feature A2 in a new Layer/File. Now, I get the result ...
1
vote
3answers
325 views

Symbolizing multiple polygons as one by dropping internal boundaries?

Using ArcMap (ArcGIS 10.2 for Desktop), is there a way to symbolize two features within the same feature class as one feature without editing the feature and merging them? For example, if I have a ...
4
votes
4answers
11k views

Where did my Create Features window go?

I closed the window and now I can't find it again. I've tried the Editor toolbar dropdown and Create Features is not even on there (at all, not even greyed out). Suggestions?
2
votes
1answer
216 views

Cutting rectangle set (not squares) into triangles using ArcGIS for Desktop?

I have some large features that I need to split into smaller pieces for terrain alignment through vertices in another program. I figured triangles would be the best solution. So basically I want to ...
2
votes
2answers
200 views

“Phantom” features showing up in QGIS 2.4

I tried searching for this, but am unsure exactly what my problem is. I am using QGIS 2.4 on Windows 8.1. I have a project in which I have been digitizing from OpenMaps. Last night I was doing some ...
7
votes
4answers
3k views

OpenLayers Selectfeature get mouse position

I'm have been searching for several hours and do not find a way to get mouse coordinates after a SelectFeature, which returns the feature by itself. I saw that this has been asked several times ...
11
votes
2answers
6k views

How to use label classes, expressions, and annotations?

I've always found that when it comes to python, vector analysis, QGIS gives ArcGIS a run for its money, hell some of the qgis plugins exceed ArcGIS's performance by a few hours; however, I always have ...
10
votes
3answers
589 views

What are some of the features available in non-FOSS GIS software that you'd like to see in your favorite FOSS GIS

For example, a program I use (TransCAD) has the ability to do travel time matrices based on minimal data input, which is really useful if you're looking at doing back of the envelope type calculations....
8
votes
1answer
3k views

How to Verify if a FeatureLayer already exists?

I am currently working on a project where when user loads up their map (mxd) into our system, we create several custom featuerlayers for them. My problem is though, I have no idea how to check if I ...
11
votes
3answers
1k views

What is a non-geographical feature?

When using the term "feature" in GIS, what is often (if not always) meant is a geographical feature which "is a representation of real world phenomenon associated with a location relative to the Earth"...
9
votes
3answers
10k views

Exporting multiple featureclasses to shapefiles using ArcGIS Desktop?

I have many feature classes in a geodatabase and I need to save/export them into shapefiles. Any Ideas? Click on every single layer -> export is not a good option, due to the number of feature ...
3
votes
2answers
746 views

How can I turn islands into individual features in QGIS?

I have what seems like a pretty straightforward task in QGIS: I have a shapefile that, in some cases, groups multiple separate landmasses into a single feature. For example, the Hawaiian islands are ...
3
votes
1answer
1k 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 ...
2
votes
1answer
1k views

QGIS identify features button issue

Is there anyway to get the Identify Features button in QGIS to automatically select a layer and provide the information without having to highlight it first in the layers TOC? MapInfo and ArcGIS ...
6
votes
1answer
161 views

How to store and serve data and its progress over time in GeoServer?

I recently started working with GeoServer and stored some shape files. I successfully can retrieve the data as JSON. The data I want to maintain in the database changes over time. I do not want to ...
5
votes
3answers
524 views

Selecting polygons by number of sides

I'm using ArcGIS 10 to build some figures for a journal article. One is a figure of an unstructured finite element mesh of triangles spanning the western Atlantic Ocean. I exported this mesh from ...
4
votes
2answers
3k views

How to copy selected (targeted) features to new shapefile using ArcPy?

I'm trying to copy specific attribute table rows from one shapefile to a new shapefile that will contain only the specified rows in its attribute table, that is, if a field GDP_TOP10 = 1. I'm using ...
4
votes
1answer
2k views

How to integrate OpenLayers and ArcGIS Server?

I am using the OpenLayers JavaScript API within a web application. I am displaying non-base layers hosted on an ArcGIS server. When I load the ArcGIS layers, I load them using OpenLayers.Layer....
4
votes
2answers
1k views

Replicating ArcMap's Point Sketch Geometry Editing (Feature Templates) in ArcObjects

I'm looking for a way to place, select, move, delete features inside a custom C# ArcObjects application (using AxMapControl). I found the exact behavior in ArcMap, but I want to save the user some ...
3
votes
2answers
2k views

How to change the value of an attribute using QgsFeature in PyQGIS?

I would like to update one attribute of a feature. However, I don't know to update it using the feature object. I have to use data provider to update it. layers = QgsMapLayerRegistry.instance()....
2
votes
1answer
952 views

How to “Merge Selected Features” with python?

I have been looking for the answer to this question for some time now, but can't seem to find it! My problem is straight forward: I have one layer It contains lots of features (only polygons), say ...
2
votes
3answers
1k views

how to change color of feature to mark it as recently modified with openlayers

I am developing a crowd sourced app using openlayers. after user clicks an feature, a popup form is displayed. After clicking the save button, the data is used in processing which takes some time so ...
1
vote
2answers
2k views

Delete SDE feature class features with ArcPy

I'm working on a script that will empty my SDE database of all data. How would I go about deleting features from feature classes using ArcPy? I have an SDE connection created with a user that should ...
1
vote
1answer
308 views

Why new feature disappears when editing polygon?

I try to create internal polygon within existing polygon. After I created a ring, I add a new feature inside the ring. Suddenly, this new feature disappears. I confirmed that this feature went to the ...
0
votes
1answer
68 views

How to iterate through each vertex in a line?

I am working with ArcObjects in building functionality for a toolbar inside of ArcMap. Once I start an edit session, I use the tools to manually draw a line. I am trying to loop through this line get (...
7
votes
2answers
8k views

How can I unselect a feature in Openlayers?

I am able to identify the selected features on my map using the following line: vector_layer.selectedFeatures I would like to be able to deselect this feature using a standalone function (not an ...
6
votes
2answers
182 views

What event is fired when a feature is edited?

When the user draws a new feature (line, point, etc.) in ArcMap, there are null attributes. If the user enters values in these null fields what is the event that is fired? I want to control the ...
5
votes
2answers
120 views

QGIS renders outlines where none should be

QGIS always renders the borders of a feature polygon. How can I disable this? Even if I set Border style to "No Pen" and the colour is exactly the same for different categories there is a small grey ...
4
votes
3answers
916 views

Can I prevent features from being created outside an OpenLayers map?

In our app, we allow users to create features on maps. The boundaries of these features will later be converted into real-life latitude/longitude coordinates, but does not make sense if features are ...
4
votes
3answers
1k views

How to find out what features /tags are included in an .osm or .pbf file?

I would like to load osm data into a postgis (postgresql) database. In How to load OSM data into PostGIS preserving all Tags? there has been a solution posted: Download the OSM files (in .osm format)...
3
votes
2answers
2k views

How to create a feature class in a file geodatabase in ArcGIS 9.3 with Python?

I'm not entirely sure if I am using the correct terminology, so I apologize in advance. What I am looking to do is create a file geodatabase and add a feature class directly into that file ...
2
votes
2answers
575 views

How can I select features based on another feature attributes?

Here is my case: I have a layer of features (buildings from a city) that is populated with polygons. This polygons have attributes : street name and postal code In the project I have another layer of ...
2
votes
1answer
677 views

Merge multiple linestring features into a single multilinestring

Using QGis or ogr2ogr how do I convert a vector file containing multiple linestrings features into a single multilinestring feature? At the moment I've been doing this manually by converting the data ...
2
votes
4answers
642 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 ...
2
votes
1answer
121 views

Uploading large files to ArcOnline

I am trying to upload a large shapefile to ArcOnline, however I found out ArcOnline won't upload any shapefile that has more than 1000 features. My 30 shapefiles have over 1,000,000 features each. ...
1
vote
0answers
79 views

Point features disappear when adding new data

Recently while adding features to a point layer i noticed that once i had saved my edits the already existing points disappeared. Although not visable on the map all of them and their data were still ...
1
vote
1answer
173 views

Dynamic scale dependency from attribute query using ArcGIS for Desktop?

If I have a feature class called roads with an attribute for type e.g. highway etc. Is there a way to setup a dynamic scale dependency on the layer based on the type of road? Like do a SQL query ...
1
vote
2answers
2k views

“Item not found in this collection” when trying to set the Shape on IFeatureBuffer

I'm working on code to open a 3rd party data file and convert it into a collection of features in a custom layer based on FeatureLayer. I have had no issue importing the data itself (nodal data for ...
0
votes
1answer
155 views

Merge two points of two different polygons to get one polygon at the end

I would like to join points from two different features. I already searched for plugins but so far but didn't find one working plugin or solution for my task. So here is a picture of 2 polygons/...
0
votes
1answer
391 views

Open Layers: Get Coordinates of drawn features

Can someone help in finding coordinates of drawn features? I am using this example OpenLayers website. I need to be able to export drawn objects as set of coordinates. Posting the code from the ...
0
votes
3answers
5k views

How to Clip a Shapefile of Circle features using a Raster using ArcGIS 10

I want to keep all the features in the shapefile that lie in the raster region and reject others. How do i do this? Data to be Clipped: Is A Shapefile of 1 mile circles. Data I want it clipped with ...