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

learn more… | top users | synonyms

3
votes
2answers
2k 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
8k 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
270 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
3k 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
544 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
152 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
378 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
869 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
1k 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
88 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
548 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
554 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
874 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
133 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
197 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
325 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
136 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
144 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
4k 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
136 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
159 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
5k 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
6k 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
531 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
863 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
316 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
620 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
5k 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
1k 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
12k 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
98 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 ...
4
votes
5answers
8k views

Cutting features to do opposite of clipping in ArcGIS Desktop?

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 ...
2
votes
1answer
547 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 ...
6
votes
2answers
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
332 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) ... ...
6
votes
1answer
524 views

Deleting all but one feature from a set of features with the same ID, keeping one with 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 are not unique, there will be 2-4 polygons with the same name but different ...
5
votes
5answers
467 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
314 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
294 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 ...
1
vote
2answers
105 views

Split a Quad to 1:7,500 Question

Here I have 1:24,000k quads. I know how to use the word split toolbox. What I would like to split 24,000K to 1:7,500 or 6,000k. Is there a way around for me to do that ? For example,, if you have one ...
1
vote
3answers
717 views

Finding X, Y of nodes in feature layer

I have a map document in ArcMap and I want to find X and Y of my nodes in a special feature layer. I look through my access database and I just find the Shape Index table which has MinGX, MinGY, ...
3
votes
3answers
1k views

IFeatureBuffer - performance considerations (ArcObjects)

I'm trying to optimize my code to make it faster. I have a loop that reads some string input and creates points with the help of IFeatureBuffer and IFeatureCursor. If I create the buffer inside tho ...
0
votes
1answer
591 views

Fields from a selected feature set are missing when gp.submitJob(..)--in Flex— pushes feature set to geoprocessing service (in Python)

I am extending existing query functionality that I have added to the ArcGIS Flex Viewer. I would like to extract the results from a query--which consists of a FeatureSet--into a .gdb. In order to do ...
4
votes
3answers
3k views

How to delete multiple feature classes simultaneously?

I created a number of feature datasets to temporarily store the output of some ModelBuilder models. Each dataset contains several thousand feature classes, and the idea was that I could just delete ...
2
votes
1answer
761 views

Convert Features to Graphics

I want to convert selected features to graphics and keep the featuere symbology. I was thinking I could just call the UID command below, however it seems to not be working? Dim pUID As New UID ...