Questions tagged [features]

Use this tag when asking questions about a representation of a real-world objects on a map.

Filter by
Sorted by
Tagged with
6
votes
1answer
11k 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
1k 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
1k 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 ...
4
votes
3answers
1k 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 ...
12
votes
4answers
17k views

Getting all the points of 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]. ...
2
votes
2answers
3k views

Get all polylines from a shapefile (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 ...
37
votes
6answers
39k views

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

What is the difference between a feature class and a feature layer? To me they seem very similar in concept.
2
votes
0answers
151 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 ...
3
votes
2answers
4k 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
3k 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....
11
votes
4answers
47k 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 ...
2
votes
2answers
1k 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 can'...
7
votes
5answers
7k views

Using OpenLayers Selectfeature get mouse position? [closed]

How do I get mouse coordinates after a SelectFeature, which returns the feature by itself?
2
votes
1answer
700 views

Querying OpenStreetMap tags by polygon using QGIS?

If I understand OpenStreetMap (OSM) correctly, all objects essentially have associated tags based on type of object (street, building etc) ... Can I use QGIS to obtain the statistics of different ...
6
votes
1answer
2k 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 ...
21
votes
3answers
11k views

Finding angle between intersecting features in two feature classes using ArcGIS Desktop and Python [closed]

I have two intersecting line featureclasses. I want to find the angle at each point of intersection using ArcGIS 10 and Python. Can anyone help?
5
votes
5answers
629 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
387 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!
1
vote
2answers
131 views

Splitting Quad to 1:7,500 in ArcGIS Desktop?

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
1k 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, MaxGX,...
0
votes
1answer
734 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 ...
6
votes
3answers
14k views

Deleting 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
2k 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 ...
3
votes
1answer
1k views

How do I fire a function after all features have been selected by a box in OpenLayers?

I have a map rendering with Polygons on a Vector layer set up as features. I set up the features so they fire off a function when the feature is selected and this works fine. The issue I'm having is ...
5
votes
3answers
905 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 ...
1
vote
0answers
95 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 ...
8
votes
1answer
7k views

Geometry from multiple selected features into one geometry

Lets see if I can explain what I'm trying to do. First of all I have developed an AddIn for ArcMap that can take one selected feature (Polygon) on a layer, grab the geometry of that feature, and save ...
3
votes
2answers
3k views

How to query which features of all vector layers intersect with a given bounds?

I am writing a Openlayers map app, and wondering whether there's a better practice to query which features of which vector layers intersect with a given bounds.. It's certainly not a good idea to ...
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 ...
1
vote
1answer
722 views

How to update GML layer without reloading local file?

I set up a GML layer with local GeoJSON file as data source: veclayer = new OpenLayers.Layer.GML("vector", "localfile.json", { format: OpenLayers.Format.GeoJSON, strategies: [new OpenLayers....
6
votes
1answer
18k 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?
2
votes
0answers
1k views

Change the symbol for a single feature in ArcObjects?

Is it possible to change the symbol for a single feature in ArcObjects? If so how? I know it's possible to setup the map symbology for different field values of a feature class, but I'd like to ...
3
votes
1answer
5k views

How to Insert Feature into Feature Class (in Memory) ESRI

I'm looking for suggestions on how to insert a new feature instance into a feature class that is in memory -- assuming that I don't have access to the feature workspace. For example, the feature class ...
3
votes
2answers
573 views

Sort feature type order in FME KMZ writer

I have 4 feature types I am writing to a single kmz file using FME. Currently, these feature types are written as folders in the kmz file and appear in alphabetical order. Is there any way to sort ...
4
votes
0answers
174 views

What open source solution would work best for auto extracting features from satellite images? [duplicate]

Possible Duplicate: Feature Extraction - Land cover I have been looking for an open source solution which would allow me to define a region (or collection of images) and extract features from ...
3
votes
2answers
2k 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 ...
0
votes
3answers
9k views

Clipping Shapefile of Circle features using Raster in ArcGIS Desktop?

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 ...
6
votes
2answers
5k views

Clip (Analysis) in ArcGIS 10 running indefinitely

I am attempting to clip a series of polylines (cross sections) using a single polygon. There are approximately 2400 polyline features in my input featureclass. Is this too large for the Clip tool to ...
5
votes
1answer
2k views

Dragging Feature in ArcObjects and ArcGIS Engine (AxMapControl)?

I'm trying to implement moving a point feature in a custom C# ArcGIS Engine application on an AxMapControl. I've already created a custom tool to do some other things. And I can track when the user is ...
12
votes
5answers
3k views

What is the fastest (performance-wise) way to serve PostGIS features?

I'm interested in the fastest way to serve PostGIS features. I can find several WMS improvements and alternatives (MapProxy, TileCache, Mapnik...) but not so many WFS Open Source improvements and ...
6
votes
1answer
4k views

How to select multiple Features from multiple Layers in OpenLayers?

Is there a way to select multiple features from multiple vector layers by using clickTolerance in click? I checked the documents of getFeature control and selectFeature control, seems not work in ...
4
votes
2answers
2k 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 ...
6
votes
1answer
543 views

Display Feedback "Stutters" When Moving Features [closed]

I have a custom tool for moving features that implements IDisplayFeedback and geometry-specific CoClasses to show the user where they are moving the feature. IMovePolygonFeedback polygonFeedback; ...
6
votes
3answers
2k views

Fastest way to merge a feature

I am writing a arc engine application that can take a shapefile, and merge a set of polygons together. Here is the code that I am using to merge the polygons: private static void mergeFeatures(...
1
vote
3answers
1k views

CreateFeatureclass_management doesn't add a layer to the TOC of ArcMap10

I created a python script for a toolbox and I am wondering about the fact that CreateFeatureclass_management doesn't add the feature-class as layer in the actual dataframe. This does not happen in the ...
4
votes
1answer
5k views

Relabel vector points in OpenLayers

I have created two labelled vector points on an OpenLayers map. I'm trying to change the label text dynamically. I tried changing the values where the stylemap gets the values from and calling layer....
2
votes
1answer
28k views

Export list of coordinates in a points layer to spreadsheet?

This is similar to my previous question, but I would like to ask it for ArcGIS, instead of QGIS. If I am supposed to somehow merge the questions, please let me know. With an existing point feature ...
2
votes
4answers
13k views

Sum of areas in all each polygon layer?

I've got several layers/feature classes in an ArcMap 10 project. Thanks to everyone's help, I'm able to get the areas for the polygons contained within each layer. By opening the attribute tables ...
4
votes
1answer
617 views

Is there a way to get the X,Y from a feature class?

I currently have an instance of a selected feature class, and I want to be able to get the midpoint X,Y (if its polygon) or the X,Y (if its IPoint) of the feature from the layer, is there some build ...
9
votes
1answer
4k 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 ...