(1) abstract geometry; (2) storing geographic data in projected coordinates; (3) a generic ESRI term for vector features; a class for "geometry" objects.

learn more… | top users | synonyms

3
votes
1answer
313 views

Limit Zooming Geometry Features in OpenLayers

I draw flag feature on my map as follows: myVectorLayer = new OpenLayers.Layer.Vector("Flag Geometry", { renderers: renderer, isBaseLayer: true, projection: new OpenLayers.Projection("EPSG:900913"), ...
2
votes
2answers
423 views

How to densify a polyline according to a specific length? [duplicate]

Possible Duplicate: Add vertices to lines I am using QGis 1.8.0 I would like to densify a polilyne according to a particular length of segment (ex. 200 m). I know it is possible with other ...
3
votes
1answer
337 views

Open dataset(s) with centroids or other geometry for WOEIDs?

The Yahoo! GeoPlanet data is available for download but this data only includes the object hierarchies without any associated geometry. Do anyone know if there is an open source for geometry ...
1
vote
3answers
428 views

In ArcMap, what is the difference between Copy Parallel and Buffer?

To build an offset of a linear feature in ArcMap, what is the difference between Copy Parallel and Buffer? In terms of the resulting features and their linear differences from the source linear ...
3
votes
2answers
3k views

How to repair topology of a shapefile?

I performed an object-based image analysis using ENVI EX, and each of the classified features were exported as a shapefile. I transferred those shapefiles into ArcMap 10, and tried to intersect them ...
5
votes
1answer
174 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
568 views

ArcGIS/arcpy: Can a variable be set to reference an in_memory workspace object?

This is an offshoot question related to a question I posted earlier. I have the following arcpy code that inputs a Python list of polygon geometry objects to the Union_analysis tool, which then ...
0
votes
1answer
756 views

ArcGIS/arcpy: Input of in-memory geometry object to Dissolve tool in arcpy script throws Error 000732, input doesn't exist or is not supported

In an arcpy script, I run a Union on a list of geometry objects. The output is set to an empty geometry object. The Union runs fine. What I am trying to do is then feed that output into the ...
3
votes
1answer
190 views

Splitting large PostGIS/GeoServer geometry for WMS optmization

I have a large geometry (MultiPolygon) for a (fictional) world map. It basically spans a large portion of the entire world: it's the difference between a buffered extension of the union of the entire ...
9
votes
2answers
4k views

Cutting up a shape file into smaller parts

I've downloaded the 350MB coastline shape file from Openstreetmap, but I really would like to work with a small part of them, is there a way to generate a shapefile of a small area. I'm using MacOSX ...
2
votes
3answers
2k views

Convert coordinates to geometry (polygon) using QGIS

I have an Excel sheet with grid data including geographical coordinates. I know that the coordinates represent areas, i.e., a multi(polygon). However, the data lacks geometry information. I'm looking ...
0
votes
0answers
18 views

World country borders in polygon geometry format [duplicate]

Possible Duplicate: Where do I get territories data? Is there some source I can get all world countries polygon geometry points with latitude and longitude? I find it for USA states but ...
26
votes
1answer
6k views

How to find the center of geometry of an object?

Well it might be a simple question. Given a set of 2D or 3D points, the question is: How to find the center of geometry of an object? According to the following figure, the center of geometry ...
0
votes
1answer
37 views

Requires Datatype for inserting features

I have imported postgis data in geoserver. In geoserver the spatial data column is displayed as MultiLineString, Does it affect when inserting features into geoserver or does it have to be explicitly ...
4
votes
2answers
701 views

Why are self-intersecting polygons bad?

Working with both ArcGIS and Oracle Spatial, a self-intersecting polygon renders a geometry invalid. Why are self-intersecting polygons a problem?
4
votes
2answers
116 views

How can I dismantle and reassemble a polyline by joining each point to its nearest neighboring point?

How can I reconfigure a PolylineMZ feature class in a way as shown in the image below? I have a feature class (PolylineMZ) which contains x-sections. Some x-sections (polylines) are badly constructed ...
12
votes
2answers
2k views

Correcting gaps and overlapping polygon (parcels) geometry

I have come across a resource that we rely upon almost daily that is in terrible need of repair. It is not our own product and the supplier is generally not interested in fixing the problem. We are ...
7
votes
2answers
639 views

Growing a PostGIS geometry by a percentage

I'm looking for a way to add a buffer around a PostGIS geometry, but the size of the buffer should depend on size of the geometry. That is, I want each geometry to be enlargened by, say, 5%. The idea ...
0
votes
2answers
644 views

How can I convert Polygon to LinearRing Geometry?

How can one convert a Polygon to LinearRing geometry using OpenLayers? I'm thinking that I can do this by getting bounds of the polygon, then use this to construct a Points array. Finally, use ...
4
votes
2answers
293 views

Fastest way to remove matched points

Hoping someone can see a faster way of doing this, because at the moment I'm averaging 9 hours per run for what I'm trying to do and well basically getting my behind chewed off by the boss :-) The ...
0
votes
2answers
1k views

Calculating shape perimeter/area per zone in ArcGis 10

How can I calculate geometrical features of polygon (perimeter and area) per zone (similar to zonal stats for rasters)? I have a square fishnet (approx 20x35, 1 square kilometer each) and I need to ...
5
votes
1answer
751 views

fTools-Error: “…invalid geometry…”

I want to intersect contours with polygon like in the image below. But i got this error: Warnings: GEOS geoprocessing error: One or more input features have invalid geometry. Some output geometries ...
4
votes
2answers
1k views

How to update geometry in ArcObjects?

I'm just starting with ArcObjects and I want to update coordinates of geometry vertices. Specifically, I want to swap X, Y coordinates for each vertex of polygons (which can be multipart and have ...
11
votes
2answers
1k views

How to calculate the angle at which two lines intersect in PostGIS?

I want to calculate the angle between two lines where they intersect in PostGIS. The starting point for angle calculations in PostGIS seems to be ST_Azimuth - but that takes points as input. My first ...
3
votes
1answer
267 views

Is ST_GeomFromText better than providing direct geometry?

I have been working with postgis recently,and in my query if I use ST_GeomFromText it execute faster than running a sub-query to get geom. I thought ST_GeomFromText will be more expensive but after ...
0
votes
1answer
95 views

create geometry in arcpad

i want to create a point geometry in ArcPad 10 VBScript, to make custom feature drawing. so i want create point geometry then record.shape = point or records.AddNew(point) i want to create ...
1
vote
1answer
300 views

Calculate MBR envelope for different geometry shapes in different rows

I have some different kinds of geometry (Polygons and line strings) stored in my mysql database. On different rows. I know I can retrieve the envelope of one row with: SELECT Envelope(zoneShape) FROM ...
6
votes
1answer
1k views

Postgis - Converting 'geometry_dump' data type to a 'geometry' type

I am working with a dataset of property boundaries that has had ST_Union() run on it, thus all the polygons appear as a multi polygon in one row of a table. I would like to separate these out so I get ...
3
votes
1answer
774 views

How can I create an empty feature class in a file geodatabase based on the schema of an SDE feature class?

I have 150+ feature classes in SDE for which I need to create an empty feature class in a file geodatabase. For these feature classes I need to import the attributes and the name of the feature class ...
2
votes
2answers
1k views

Downloading Google Maps municipal geometry

When searching for a city on google maps, google is that smart it displays a geometry line on the boundary off the municipal. See this link: http://g.co/maps/23dz5 Is there a place in the google maps ...
1
vote
0answers
245 views

Create IPoint with Lat/Long in decimal degrees and Z in feet

I have written an ArcMap v10 AddIn that reads a folder of geotagged JPEG's and creates a new feature class where each point is the geotag information from on of the JPEG's. The issue is: The GPS ...
2
votes
1answer
1k views

How to make a predetermined Polygon (Circle) From 4 Coordinates, The Radius and Center Longitude and Latitude in Openlayers

I know how to make a predetermined Polygon in Openlayers (see below). Please have a look at http://studio.netnrg.co.za/dev/rnd/blake.loizides/openlayers var feature2 = new ...
2
votes
2answers
508 views

Geoserver uses geometry, not geography

When using a SQL database as the store, Geoserver requires that the spatial data are stored in a geometry, not geography column. Naturally, as we are dealing with geospatial features and not just ...
4
votes
0answers
632 views

OpenLayers: WFS request to GeoServer to retrieve “name” & “featureNS”

Using WFSGetCapabilities I sent a GetCapabilities request to GeoServer. From the result of WFSGetCapabilities().read(), I can loop each featureType and retrieve some basic info(e.g., name, title, ...
6
votes
3answers
728 views

Retrieve polygon smallest MBR

I have a postgis table containing polygons. I want to transform my polygons to 4 points polygons : retrieve the smallest MBR. Here comes an illustration of what I want : My original polygon is ...
2
votes
2answers
2k views

Extracting elevation from a TIN file with a point shapefile overlay

I have a TIN file that was built off of contour polyline shapefile (I think). I have a point shapfile with a few points. How can I extract elevation of the TIN file where the points occur? I am ...
2
votes
1answer
497 views

Using MS SQL 2005 as the data store in GeoServer

In my project, I am trying to set up a simple WFS service in GeoServer in order to create a layer consisting of point features. I have succeeded doing so with the points being stored in a shapefile. ...
1
vote
1answer
896 views

How to create multipart line and polygon with interior ring in ArcGIS Python?

My objective is to swap X,Y coordinates of feature classes using Python and arcgisscripting. Based on help examples, I managed to write script which reads and writes all geometry types. The problem ...
1
vote
1answer
366 views

Convert point XY to page units XY using arcpy?

I am using arcpy to export PDFs from my ArcGIS Server application. I want to move a TextElement in my layout view to the centroid of a selected feature. I can get the centroid of the feature, but ...
13
votes
5answers
518 views

Terminology: Polygon or Area?

When writing about GIS geometry I'm unsure whether to use the term "polygon" or "area". In particular, does the word "polygon" suggest a specific type of geometry? For example, a colleague suggested ...
0
votes
1answer
2k views

Area of an irregular polygon using side lengths

I have only lengths for the sides of an irregular polygon, can anyone tell me how I can measure the area of the polygon? Remember only lengths of all the sides , no angles or coordinates. Few forums ...
2
votes
1answer
1k views

How to get the radius of a “circle” in Openlayers

How do you get the radius of a circle in openlayers? I have searched quite a bit and cannot find any resource for this. please help. Here is my code but I want the radius or circumference of the ...
1
vote
1answer
2k views
4
votes
1answer
2k views

Transforming geometry coordinates from SRID 4326 to SRID 3011

In SQLServer geometry field, I want to change the coordinates of geometry from one spatial reference system to another spatial reference system (from SRID 4326 to SRID 3011) by using ST_Transform. But ...
2
votes
1answer
6k views

How I get SRID from Geometry field

what is the function for getting SRID from Geometry field. I have inserted a shapefile into SQLServer table with Geometry field defined. I know the projection of shapefile is Swreff99_1800 ...
1
vote
1answer
772 views

what is the format of Geometry data type of SQLServer 2008

I want to know, In which format the Geographic data stored in geometry data type of SQLServer 2008.it looks like a long string,like 0xE6100010466DFEOA4089663524....... for one polygon. My second ...
0
votes
1answer
1k views

C# library for converting geom field of SQLServer into set of google latlng

Is there any C# library which can convert the geometry field into set of google latlngs? I have stored a shapefile into SQLserver table. From Sqlserver i want to read the geometry field data and want ...
2
votes
1answer
365 views

The minimum bounding circle of geometry that crosses the 180th meridian

Background: I've been given a task where I have to calculate the minimum bounding circle of Alaska (for the purpose of running a Roeck test). I'm using the Census' state level geometries available ...
18
votes
3answers
4k views

How to store lines and polygons in JSON documents?

Looking at the increasing NoSQL movement and considering that databases like MongoDB offers a new perspective in flexible data storage for GIS. What is the best way to store lines and polygons in ...
5
votes
1answer
2k 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 ...