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

learn more… | top users | synonyms

0
votes
2answers
123 views

Calculating distance to a feature from a reference line

I have multiple shapefiles, each containing a coastline for a specific year. I want to calculate the perpendicular distance to the shoreline from a fixed vertical reference line. Please recommend me ...
2
votes
2answers
677 views

ArcObjects snipped to Select all Features currently visible on the ArcMap screen (ActiveView)

I guess I have to get the extent of the ActiveView and then use it to perform a spatial search. Is that the proper way to do it? Please share the code snipped if you have any. Thanks.
2
votes
1answer
58 views

How does Mapnik Map Similar Features to Images

General Problem I want to be able to select all nodes inside of a bounding box that have similar properties. A good example would be: Map features that represent vegetaion. In other words: Basically ...
4
votes
2answers
1k 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 ...
1
vote
1answer
100 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 ...
3
votes
1answer
115 views

Adding feature object to PostGIS feature type from GeoServer

I am trying to set up a system that will post feature objects periodically to a PostGIS db and display them via GeoServer and OpenLayers on a web site. Is it possible to add the new feature objects to ...
0
votes
1answer
723 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 ...
1
vote
1answer
776 views

Display list of OpenLayers Features which are currently visible on screen

I have an OpenLayers map a few thousand Points of Interest. These POIs are Vector Features rendered in a Vector Layer. We are loading the POIs once in order to minimize load on the server. Next to ...
5
votes
2answers
1k views

What's the difference between “Copy Features” and “Feature Class to Feature class”

I have a feature class within a feature dataset in a FGDB, and I need a copy of it in another FGDB. In ArcGIS 10.1, I've used the "Copy Features" tool, and it looks to be the same (according to the ...
0
votes
1answer
107 views

Openlayers: Bind Text with feature (Outside Map in a Div)

I'm using OpenLayers to show routes on a map. These routes are loaded from JSON and I'm using a Vector Layer to get it onto the map - works great. Now I want to Display all features in a div outside ...
1
vote
1answer
226 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 ...
3
votes
0answers
44 views

problem creating and editing features at extent edges

I'm in the process of creating a polyline feature layer of tectonic plates. I'm working with WGS-84 reference system, which means the extent is +-180 in lon, and +-90 in lat. In order to create the ...
0
votes
0answers
54 views

How to obtain the center of Vector layer created using WFS query?

I created a vector GML layer using a WFS query with a filter. The layer renders fine . However, the layer does not appear to have any features associated with it (layer.features.length is 0 ) I need ...
2
votes
1answer
519 views

Changin features' pointRadius based on the current zoom level

I need to have my features change their pointRadius based on the current Zoom level. My questions are: Would it be possible to use Rule Based Styling techniques to overcome the problem? If yes, it ...
1
vote
1answer
103 views

Diff operation in PostGIS/Geotools

What is the best way to perform a diff operation on Postgis features/tables or Geotools objects? Are there any automatic methods I can use? If not, what would be the optimal way to implement your own ...
0
votes
2answers
567 views

Error 001143 and Error 99999 when using Locate Features Along Routes in ArcGIS10.1

Oddly, what I need to do has worked for about half of my data but not the rest. I'm trying to use the Locate Features Along Routes tool in ArcGIS10.1. I have a smaller polyline layer as the input ...
0
votes
1answer
430 views

Feature Layer Selections

I'm new to arcgis and arcpy, so some of my lingo and terminology may be off. I have a script that takes a feature layer as an ainput. From there I want to be able to count the number of selections in ...
2
votes
3answers
702 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 ...
2
votes
0answers
134 views

How to cluster features based on their proximity?

I have around 500 features (Forests) that I want to cluster based on their proximity, and then work with those clusters. I only have the ID, and shape area of those features. How can I cluster them?
5
votes
2answers
750 views

How to Count Features in a Feature Type in FME?

I am reading around 120 spatial tables in FME. I would like to export a spreadsheet or CSV using FME that contains the feature name (table name) and the number of records in that table. So far, I've ...
3
votes
1answer
142 views

ArcGIS Server 10.1 - Cached tiles cut off features

I have a, ArcGIS MapServer with cached tiles. The problem I ran into is, that the features which are next to the MapServers extent are cut off. The image below should explain the issue. The blue line ...
0
votes
1answer
56 views

Extract polygon from several FC in one process

I've built a polygon and used Clip (Analysis Tools) in order to extract information from several FC that intersect the polygon. Of course, I used the clip tool for each feature class. My boss wants a ...
2
votes
1answer
2k views

How to get all selected features from a specific feature class in C#

I am looking for a way to get all selected features from a map which belongs to a specific feature class (shape file, geo database,…). To be more specific and to give you a real case for my ...
4
votes
3answers
3k views

Openlayers remove previously drawn polygon on starting to draw next one

Objective: At any point of time there SHOULD only be zero/one polygon(s) on a vector layer with a polygon control. I need the previous polygon to be removed as soon as user starts drawing the first ...
1
vote
1answer
351 views

OpenLayers Zoom To Feature Help

I have been struggling with something for a while that I figured would be simple. I have a WMS layer with many (millions) polygon features. This is a PostGIS layer (WMS). Each polygon has an ID in an ...
1
vote
1answer
111 views

How to abort a layer event in Openlayers

I have a problem ( How to stop features to redraw unwillingly in OpenLayers ) that might be solved by aborting the beforefeatureremoved or beforefeaturesremoved event. What I would like to to is to ...
2
votes
1answer
112 views

How to stop features to redraw unwillingly in OpenLayers

I have a problem where when editing features from a wfs vector layer. After some changes are made to the geometry, the feature redraws itself and the changes are lost. Usually the problem occurs more ...
1
vote
1answer
203 views

Is there a way to perform zonal statistics-like operations with feature zone data without doing feature-to-raster transformation?

I want to use zonal statistics on Chinese counties (which can be very small) from a fairly coarse (0.5 degree) raster grid. The problem with zonal statistics is that it returns a much smaller number ...
2
votes
1answer
150 views

How to fix the “The inserted Ring is not contained in a feature”?

I am trying to add a ring in a feature in a shapefile. This feature is a single part feature but has already a few rings. When I try to add the new ring, I have the error message : "The inserted Ring ...
2
votes
2answers
296 views

Server side clustering - cluster (feature) geometry

I am trying to implement server side clustering and show it using OpenLayers. I am using this good material as an example. As a clustering result, a get some list of features, some of them are ...
1
vote
0answers
149 views

How to set the holeModifier on OpenLayers.Control.DrawFeature to always be active?

I would like to create a button "draw a hole" taht uses by default the holeModifier functionality but the user dont need to press the cttrlBtn. The "standard" way I guess, would be to create a way of ...
2
votes
4answers
474 views

how to check if a wms layer has no features

I've been searching the net for a couple of days to find a way, how to check if a wms layer has no features... Let me explain I'm using openLayers/geoserver/postgis. I'm using a cql_filter to search ...
1
vote
1answer
997 views

Openlayers Vector Feature Popup

im trying to create a popup in Openlayers that would open when someone clicks a marker. And the marker is setup like this: new OpenLayers.Feature.Vector() and not with the ordinary marker layer. The ...
0
votes
2answers
169 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 ...
2
votes
0answers
99 views

Cannot reselect polygon after modify

I've got various vector layers on a OL map. On one layer I have a few draw controls. If I draw a polygon I can select it (the whole pop-up thing works). This also works for all the other features. ...
2
votes
1answer
266 views

Bug With Adding Multiple Controls for Selecting Features in OpenLayers

I am trying to add functionality to my WFS layer which will allow me to do: Hover over a point and display a tooltip with information about the feature Click on the point to zoom in on it I have ...
0
votes
1answer
84 views

OpenLayers make feature not clickable

I have defined an OpenLayers.Select.Control - I need only hoveron and hoverout events. I have implemented it using callbacks that and it works. But I need to disable just on feature clicking ...
1
vote
2answers
4k views

OpenLayers vector layer remove all features

I have a map (using OpenLayers) and a vector layer containing features(points). Sometimes I need to remove all features from the vector layer. When I use vectorLayer.removeAllFeatures() then it ...
3
votes
1answer
581 views

change style of newly drawn points

I've a vector layer with a bunch of draw controls on it. You can add polygons, points and you can modify polygon. Now I changed the style of the points so they have a nice pin-like image. But them I ...
1
vote
1answer
490 views

How to select features from different WFS layers?

I'm trying to select features from different WFS layers but unfortunatelly it doesn't works in my code. This is my code: var select = new OpenLayers.Layer.Vector("Selection", {styleMap: new ...
4
votes
2answers
256 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 ...
1
vote
2answers
115 views

Length of Feature

I have a shapefile which renders a map. I want to calculate and preferably store length of each feature in the shapefile either using QGis or through programmatic means. What is the best way to get ...
2
votes
2answers
44 views

XML not getting convert into list of Feature Objects

I'm getting a following XML response: <wfs:FeatureCollection xmlns="http://www.opengis.net/wfs" xmlns:wfs="http://www.opengis.net/wfs" xmlns:Alexandria="http://www.opengeo.org/alexandria" ...
4
votes
3answers
4k 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 ...
2
votes
1answer
202 views

ArcObjects bug in OID field duplication while duplicating feature class?

I have a shapefile with a column of type esriFieldTypeOID with the name FID and numbers from 0 to 5 (the first odd think is that ArcMap does not show a * next to the column name in the table view even ...
7
votes
2answers
254 views

How to remove long linear strips from polygons?

I have a polygon layer representing impervious land cover. This was taken from a land cover raster dataset. The impervious data represents all impervious surface that is not buildings or roads. I ...
2
votes
0answers
55 views

Is there a way to distinguish between digitized and pasted features?

Is there a way to tell if an added feature in QGIS is in fact a newly digitized one or a pasted feature? I think QGIS is treating both cases in the same way, emitting the same signal: ...
5
votes
3answers
1k views

How to update feature positions with clustering in OpenLayers?

I have an OpenLayers 2.12 map with a vector layer with a cluster strategy. All the static behavior is how I want it. Now I'd like to add the possibility to update the features' position. I do this ...
4
votes
2answers
453 views

How to select features that intersect but don't touch (using ArcObjects)?

So how do I do that? ArcMap's Select By Location selects also all features that touch, but I only need the ones that actually intersect the area. I currently use ...
5
votes
1answer
93 views

Is it possible show the feature attributes dialog when I add a feature in code?

I want to know if it is possible to make the feature attributes dialog in Qgis show up when I add a feature by code using: QgsVectorLayer::addFeature( tFeature ) This is available when I add ...