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

learn more… | top users | synonyms

4
votes
1answer
114 views

Creating a feature of a part of a state boundary from a shapefile of U.S. States

I have a shapefile of U.S. states. I want to create a feature layer from it so that I can do a Near analysis with it. Suppose that I am interested in the Georgia boundary, but only the part of ...
2
votes
1answer
413 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 ...
1
vote
0answers
312 views

Tie up LineString to the feature when dragging it in OpenLayers

I have an application in OpenLayers which shows a number of devices (Feature) on a map. The devices are linked between each other by cables (MultiLineString). ...
1
vote
1answer
220 views

I'm trying to zoom to a graphic, but nothing happens

I'm trying to zoom to a graphic retuned from the query; query.OutSpatialReference = MyMap.SpatialReference; query.ReturnGeometry = true; After this query I used ...
5
votes
1answer
180 views

How can I increase performance on inserting features with polygon geometry?

I have a problem when inserting features with polygon feature class in FGDB. This is my code: ... initialising some fields (does not affect performance) m_featureBuffer.Shape = ...
0
votes
1answer
678 views

lonlat from geometry point gives strange result

I added a vector layer to my main map with the controls like the example from openlayers: http://openlayers.org/dev/examples/draw-feature.html Now when I want to get the resulting lonlat from the ...
3
votes
2answers
1k views

Dynamically adding features with cluster strategy

I am trying to dynamically add features to a vector layer, and use cluster strategy to group those features accordingly. I am able to do this for the first set of data that gets loaded on the map. ...
5
votes
3answers
6k views

Change Icon of Single Vector Feature in Layer

Currently I am trying to change the icon of a particular feature of a vector layer that the user is focusing on. I add each feature to the map like so: var point = new ...
6
votes
2answers
251 views

Why am I getting duplicate ghost points (features), i.e., one point in the feature class but two points?

When editing some of the attributes in a point feature class in ArcMap 9.3, duplicate labels started showing up. When I click on the point, I discovered that the point has duplicated itself BUT there ...
5
votes
3answers
2k views

Slow IE8 responsiveness with OpenLayers and many features

Background Adding about 700 sites to an OpenLayers Map. Firefox 11 and Google Chrome display the sites just fine. IE8, which is the organization's standard and will not be upgraded for the ...
0
votes
1answer
445 views

How to select multiple features using advanced search SQL in QGIS

I have a layer of planning units covering a large area (there are over 16000 PU's). Three of the columns in the attribute table hold information about which planning units were included in the ...
0
votes
1answer
131 views

How to edit a group of selected features in QGIS?

I am dealing with a large number of planning units across a very large study area. I am selecting a number of features using the advanced search in the attribute table, and would like to edit them ...
1
vote
0answers
307 views

Deleting Features In ModelBuilder ArcGIS 9.3

In ModelBuilder, I have a work flow (data is stored in a File Geodatabase) that currently concludes with the use of the Append tool. I am looking to delete a features, as the last function of the ...
1
vote
1answer
672 views

Overlaping graphics not visible in featureLayer

I have constructed featureCollection from Json and feature collection has 44 features. I have given this feature collection as input to the Featurelayer which is showing only 32 graphics objects of ...
1
vote
1answer
987 views

OpenLayers ModifyFeature and styling

In OpenLayers, I have a Vector layer with a StyleMap and SelectFeature and ModifyFeature controls, like this: vector_layer = new OpenLayers.Layer.Vector('My Vector Layer', {extractAttributes: true, ...
0
votes
0answers
80 views

why are split-lines saved in the attribute table? (qgis 1.7.4)

A few months ago I splitted some lines in a shapefile with official roads because they are not accessible anymore. Now I loaded that file again into my project and the splitlines appears. Because I ...
1
vote
1answer
466 views

openlayers trigger hover event

I have a bunch of tracks on screen in a vector layer. I used some hover and select styles in the layer styleMap and these styles are properly triggered by: var highlightCtrl = new ...
11
votes
1answer
2k views

Dealing with overlapping features in OpenLayers

If users create a polygon feature that completely overlaps another one, like this … … then there's no way you can select the inner feature, i.e. the one that's overlapped by the other. I'm ...
3
votes
2answers
503 views

Problem with multiple feature selection

In an attempt to retrieve all features (point geometry) that fall in a selected polygon, I get the error this.layer.addFeatures is not a function. My code is as shown below: function ...
4
votes
1answer
783 views

merge selected features and programming

I have a shape file with UK districts and unitary authorities. In the past, using commuting patterns, I worked out a new geography which is close to travel to work areas. I now would like to create a ...
1
vote
2answers
126 views

Fetching field values from uncommitted features on Qgis

I'm trying to fetch a feature's field value on Qgis, I use QgsFeature.attributeMap().value(cont int & key).toDouble() This works fine for committed features but it always returns " 0 " if the ...
2
votes
2answers
4k views

openlayers change marker icon, size and offset after drawn

I'm having much trouble changing my (feature)marker icons 'on the fly'. The problem is that I use much different images and also need to change the offset. So I iterate over every marker and make a ...
2
votes
1answer
189 views

The relation between the Feature's Geometry and its externalGraphic

I wonder what is the relation between the Geometry.Point one sets for a Feature.Vector and the image provided as externalGraphic for the style, in OpenLayers. Is the Geometry.Point of a feature for ...
4
votes
1answer
259 views

Retrieve data from FeatureClass

I have : FeatureClass (Structure) column (Type) column (OID) I am trying to get the (Type) for specific OID. I tried to use this code but it dose not work. IFeatureWorkspace featureWorkspace = ...
6
votes
2answers
126 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 ...
3
votes
1answer
132 views

OID for the last added feature

How can i get the Object ID for the last feature created ? i use m_editEvents_OnSketchFinished() event to run some code, but i can't get the OID of the most recent added feature.
7
votes
3answers
3k views

How to delete feature class features faster (ArcPy)

I have written this script that recurses through all feature classes in a given set of feature datasets and deletes all their features. It appears to do the job but it runs pretty slowly. Is there ...
6
votes
1answer
124 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 ...
1
vote
0answers
152 views

How to create a dynamic distance calculator for selected line feature classes?

My situation: I am relatively new to GIS so forgive me if this is a stupid question. I am working on a project at a park that I am interning at where the goal is to create a single feature with ...
7
votes
3answers
4k views

How to export multiple featureclasses to shapefiles?

I have plenty features in a geodatabase. I need to save/export them into shapefiles, because my mate works with Manifold, which is not able to read geodatabases. Any Ideas? Click on every single layer ...
2
votes
1answer
4k views

Problems with features, popups and strategy with OpenLayers

I'm trying to create a website for vehicles localization on map, but i have some problem with openlayers. This is my first time with OL... What I would do is: - add and update features (my vehicles) ...
5
votes
1answer
5k views

Assign Icons to specific points dynamically in OpenLayers

I have a json file describing features on a map (routes, points etc) points include places of interest such as airport, harbor etc. Is there a way to assign icons to these points? example: have a ...
1
vote
1answer
486 views

Zoom to country with geoserver and openlayers

I would like to preposition an OpenLayers map on a country. This is, when my page loads, the map should be positioned on the country with an appropriate zoom level. This should work for a (large) ...
3
votes
1answer
789 views

How to change data type in Excel file before creating feature class?

I am trying to import data from Excel spreadsheets where each point coordinate has a 'datetime' timestamp (e.g. "2012-06-01 14:45:32") associated to it. When I check the table properties ArcGIS 10 ...
2
votes
1answer
268 views

Query against FeatureClass for a layer

This is some code that I am using to try to get a working IFeatureLayer from a subset of data from a database table. The fourth line containing "fcWkspc.OpenFeatureQuery" throws and error complaining ...
4
votes
3answers
519 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 ...
7
votes
4answers
4k 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: ...
2
votes
2answers
904 views

Get all polylines from a shape file (containing polylines)

I have a *.shp file which contains only polyline features. How can I iterate over all the point features. Given ESRI Polyline example only uses already defined points to make polylines. But I want to ...
21
votes
5answers
10k views

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

This may be very trivial question. To me they seems very similar in concept. What is the difference between feature class and feature layer?
2
votes
0answers
96 views

Is it possible to lock a single feature from editing in ArcObjects?

We're developing an ArcMap addin. Now we need a way to lock a feature from editing/deleting. Is this possible with ArcObjects or do we have to create our own implementation of locking? Example: User ...
1
vote
1answer
1k 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 ...
4
votes
1answer
1k 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 ...
1
vote
4answers
6k views

Cutting features in ArcGIS 10

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 by ...
2
votes
1answer
494 views

editing existing lines

I have a quick editing question. I have a main line (street) from which I want to extend other small lines to reach some points (manholes), but I want to keep just one feature (the main line). I ...
5
votes
1answer
2k 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 ...
2
votes
1answer
305 views

How to query OSM tags by polygon?

I do not know whether something like this is possible but nonetheless. If I understand OSM correctly all objects essentially have associated tags based on type of object (street, building etc) ... ...
4
votes
1answer
440 views

Need to delete all but one feature from a set of features with the same ID, keeping the one with the largest area

I have a large polygon layer in which most of the polygons have a unique name in a text field. Of the hundreds that aren't unique, there will be 2-4 polygons with the same name but different ...
5
votes
5answers
451 views

Where to find a list of geographic 'objects'?

Is there an extensive list of geographic "objects", "entities" or "features" that can be discovered in the geographic environment, relatively static and therefore can be geo-located and represented on ...
2
votes
2answers
298 views

How OpenStreetMap data layer works?

OSM map has a data layer and an information panel. How is it implemented? What is a type of the layer and URL of vector data source? How information panel works? Thanks for all!
0
votes
1answer
262 views

Simple Features and ArcGIS Domains

I am working with a number of detailed ArcGIS Geodatabases with domains used to enforce specific workflows, etc. This is all good and great, but I would like to move my data into either a ...