2
votes
3answers
790 views

Can we request new OpenLayers WMS image for an extent without moving the map?

Can we request new OpenLayers WMS image for an extent without moving the map center ? Reading OpenLayers code, OpenLayers move map center to new extent, and THEN do HTTP request to get the image. Is ...
2
votes
0answers
177 views

Polygonize problem [duplicate]

Possible Duplicate: Polygonize function doesn’t overlay the shape file over the raster file When using "Polygonize" in Quantum GIS, I'm getting a polygon shapefile output that is a mirror ...
2
votes
1answer
380 views

Listing Elements or Datasets of Layer gives ERROR 000840 value is not Feature Layer?

I used Ar5cPy to do batch processing of Network Analyst - Make Service Area layer of thousand of stores. Everything went well except now, I am stuck with layer (.lyr) files and I would like to ...
2
votes
0answers
1k views

Qgis 1.8 fails to install

QGIS 1.8 will not start on Windows 7 Basically a similar issue as the above post. Version 1.8 fails to install with the standalone installer; with OSGeo4w, while it doesn't run into trouble during ...
2
votes
1answer
1k views

Add AutoCAD .dwg annotation file to Arcmap using python (Same as +ADD Data button)

I would like to add an AutoCad .dwg file to Arcmap using python the same way that the +ADD Data button does. I can add an Annotation layer with python but only as a feature layer not as an annotation ...
2
votes
3answers
3k views

OpenLayers GetFeatureInfo for GeoServer Layer Groups

I've created a GeoServer layer group. I'm using OpenLayers.Layer.WMS to retrieve the layer group, and this works fine. In addition, I'd like to pull feature info for the layer. For this, I'm using ...
2
votes
2answers
3k views

QGIS 1.8 will not start on Windows 7 [closed]

I have downloaded QGIS 1.8 and installed it on my windows 7 system. When I click on the desktop icon, nothing happens. I am currently running QGIS 1.7.4 with no problems and the installs of previous ...
2
votes
1answer
1k views

Changing the name of layer using python

I am attempting to change the name of the layer. The following code changes the name of the layer but then removes the layer from the map, and I am not sure why. Note: I don't have any remove layer ...
2
votes
3answers
3k views

How feasible to extract data from KML/KMZ files

We have a large bunch of KML files, they are basically global cable maps. In our company they are wide-spread and everybody uses them with Google Earth. Now there is an interest to extract ...
2
votes
1answer
473 views

Uploading unprojected shape files using GeoServer REST API

I have a number of shapefiles that lack the .prj file. I'm able to upload them to geoserver using the rest api. However, I'm unable to serve them after upload. Which brings me to the question as to ...
2
votes
1answer
1k views

Adding Layer in current session using ARCPY

I wanted to add a layer through the toolbox using arcpy. The below script works fine through the python console in ArcMap, but does not when executed through the toolbox. The layer flashes for a ...
2
votes
2answers
3k views

How to access attribute data type in QGIS?

I've been developing a plugin on QGIS platform using PyQGIS. So far plugin does the following: You can select any feature of the already loaded vector layer in QGIS. After selection, plugin displays ...
2
votes
2answers
981 views

FME Donut Hole Extractor

I am using FME to fill in some small holes within polygons. I have used DonutHoleExtractor to split these out, however I have found the output via the HOLE port also brings existing 'filled' holes ...
2
votes
2answers
250 views

After re-open of old project file, several layer selections no longer available

I'm new to QGIS. I created a QGIS project, loaded 1 to 3 shapefiles via Add Vector Layer (from 2008 TIGER/Line Shapefiles http://www2.census.gov/cgi-bin/shapefiles/state-files). The maps look fine ...
2
votes
3answers
1k views

Transforming Visio polygon to shapefile?

I am a complete newb at this stuff and don't know what I don't know. I may use incorrect language. Essentially, I want to convert the shapes in a Microsoft Visio diagram into a shapefile. I pretty ...
2
votes
4answers
938 views

How to fix Error: could not access file “$libdir/librouting”?

I am trying to run the sql file of pgrouting-> routing_core.sql in mac. However it displays the following error psql:routing_core.sql:32: Error: could not access file "$libdir/librouting": No such ...
2
votes
1answer
550 views

Recreating A Lat/Long Grid Using a Specified Formula

I'm trying to recreate the Gridded Mercury emissions 2000 (0.5 x 0.5 degree grid) designed by the Arctic Monitoring and Assessment Programme. The file is in ASCII format, but without any coordinates. ...
2
votes
2answers
785 views

How to transpose the lat/lon coordinates of a shapefile?

I need X to be Y and Y to be X (switching lat/long) within the polygon shapefile. If it were a point shapefile I know I could simply reverse the lat/long or x/y parameter and import from a table. I'm ...
2
votes
3answers
962 views

Cut many lines with many polygons: Too much for my CPU/RAM?

I have a line-shp (80mb) and a polygon-shp (5mb) and want to intersect them. In result, the lines (contours) should be cut by the polygons. After using one of the tools "Vector -> Geoprocessing ...
2
votes
1answer
1k views

Outputting results message from spatial statistics tool to text file using Python?

I'm using the following tool in ArcGIS 10 - Calculate Distance Band from Neighbor Count (Spatial Statistics). I'm using a python script to execute this tool several times on different shapefiles: ...
2
votes
2answers
520 views

displaying combined data values in ArcMap

I got some data in an attributes table and I would like to know how I can combine them in order to get an unique value in the map. For instance, Attribute: Type Value: Street Those values I ...
2
votes
0answers
496 views

Zooming the map after filter

I have wms layer and after i do cql filter on this. And now i want to see result. I want map zoomed to this result. My code. ex=layer.getExtent(); map.zoomToExtent(ex); But getExtent() returns ...
2
votes
0answers
72 views

Batch Convert MapInfo .TAB Files to .KML [duplicate]

Possible Duplicate: ogr2ogr convert all shapefiles in a directory As the title suggests, i have a few hundred .TAB files to convert to .KML. This is likely to be a fairly irregular thing ...
2
votes
2answers
421 views

How to import .dbf with long text values?

I'm trying to join a .dbf I made in LibreOffice with a shapefile. The .dbf contains ~10 columns, three of which have a large amount of text (~100 words). When I import the .dbf into QGIS, all ...
2
votes
1answer
473 views

How to calculate the Zone of Impact using OpenWind

After downloading OpenWind, I am trying to calculate the ZVI for a single Turbine. There is no documention regarding this from the developers. At this point I just want to compare the output of the ...
2
votes
5answers
3k views

Where to find qgsaffine in the menu?

I installed the plugin qgsaffine but cannot find the entry in the menu bar. Where do I find this. Can anyone here help me with this? best regards desputin
2
votes
4answers
622 views

Floating point: understanding their inaccuracy [closed]

I am trying to understand why a floating point is inaccurate. Please bear in mind that I am not a mathematician. What is exactly the difference between floating point and double integers? and why use ...
2
votes
2answers
3k views

Text layer styling in GeoServer?

I am wondering what is the best approach to use for text layers in GeoServer. AFAIK, there is no text layer in GeoServer. But in many occassions we need to use text layers and not simply label for ...
2
votes
3answers
447 views

Is it possible to make a routable graph from Polygons?

I would like to know if it is possible to make a graph with pgrouting 1.05 on polygons. What I mean is that I have to make a graph on a database without roads but with polygon geometry. I would like ...
2
votes
2answers
2k views

QGIS is not able to find GRASS. Choose the path of installation folder of GRASS

I've downloaded and then correctly installed QGIS 1.7.4 for windows (Win 7 64bit is my version) in C:\Programs\Quantum GIS. But everytime I start QGIS this popup appear: "QGIS is not able to find the ...
2
votes
3answers
1k views

Accessing coordinates of polygon

I have designed a polygon in a web page and the coordinates are stored in the database of the type polygon. However when I check the database, I find GEOMETRY - 120B under polygon field. What does ...
2
votes
1answer
4k views

clip polygon with the extents of contour polylines

I have a polygon shape that represents the boundary of Fennoscandinavia and a polyline shapefile representing two contour intervals for a trait. I would like to create a new polygon representing the ...
2
votes
1answer
315 views

How to port QGIS C++ plugins to other QGIS installations?

I developed a C++ plugin for QGIS using VC++ express 2008 and a QGIS dev release (1.9.90 alpha), my plugin works fine on this release and now I want to port it to other QGIS installations, so I copied ...
2
votes
1answer
1k views

Open Layers Control Modification

function testPanZoom() { console.log("test func"); var newPanZoom = new OpenLayers.Control.PanZoom(); OpenLayers.Util.extend(newPanZoom, { onButtonClick: function(evt) { ...
2
votes
1answer
725 views

How to convert decimal point to comma in QGIS?

I am working with data in Colombia where decimal points are written as commas. I would love to create a new column in QGIS that would convert all decimal points (periods) to commas for the purpose of ...
2
votes
2answers
666 views

How do I batch export maps for sub regions of a dataset with qgis?

I have a national level dataset consisting of polygons, polylines, points and rasters. I would like to export a map for every sub region (border defined by a polygon shapefile). Is there a simple way ...
2
votes
1answer
306 views

Why are layers not lining up with others with the same CRS? [closed]

I am creating a project on the UK and have downloaded various shapefiles. When I add a vector layer they are coming up as if they are not lining up. Some layers are nicely on top of each other with ...
2
votes
1answer
1k views

Error while rendering a layer from postgresql in mapserver

I got a point layer into QGIS from postgresql database. After this I used a plugin to export it to a map file.After exporting the following is the starting of the map file. NAME "QGIS-MAP" # Map ...
2
votes
1answer
2k 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
3k views

Problem when calculating longitude and latitude for points

I have a PostGIS database with SRID=900913 (Google Mercator) and I would like to know the latitude and longitude of points. I use this command: ST_X(ST_TRANSFORM(the_geom,4283)) Following what is ...
2
votes
2answers
562 views

Getting zone from UTM in order to convert to latlong

I am trying to convert UTM to a latlong point. To get that done I need to know the zone where the UTM coordinates are. how can I find the zone from UTM?. the place coordinates that I work on lay on ...
2
votes
1answer
495 views

How to run “sdetable register” command in SQL Server?

I was planning to run "sdetable register" command to register a particular field as OID for an non-spatial table already created in a SDE database. I am with SQL Server 2008 R2. I tried to run the ...
2
votes
1answer
2k views

How to reproject shapefile using ogr2ogr

I have shapefile in EPSG:2834 and I want to reproject it into EPSG:4326. I am trying to use ogr2ogr in Windows; however, I get this failure output: C:\Users\Nik\Desktop\Logan_Lines>ogr2ogr -t_srs ...
2
votes
6answers
3k views

How to search feature in Qgis?

How is it possible to search feature on Qgis? I have lots of points with Id. Is is possible to search points using ID? Update: I'm looking for a solution that centers the map to that point.
2
votes
1answer
334 views

Select all vector features underneath the mouse cursor (clientside)

I have a number of polygons that are exactly equal covering each other and shown on one layer. When using OpenLayers.Control.SelectFeature - only the topmost feature is selected. How to get info on ...
2
votes
0answers
592 views

Trouble with Python plugins on QGIS [closed]

This question has been bugging me for a while now, and I still haven't managed to solve it, so I'm giving it another go, hopefully someone may help me out. I've been having problems loading several ...
2
votes
2answers
2k views

Shapefiles are not being added to MXD using ArcPy?

I want to add a shapefile to an mxd document using arcpy but it generates the following error when used by adding script in arctoolbox import arcpy mxd = arcpy.mapping.MapDocument("CURRENT") ...
2
votes
1answer
2k views

How to find bounding coordinates (lat/long) for UTM zones?

I want to error check incoming lat/lng points by checking if the point resides within the given UTM zone. (This would work for the data im using because sometimes there is a missing sign or lat/lng is ...
2
votes
2answers
6k views

Converting TAB to MIF / MIF to TAB

How I can export (import) data from TAB format to MIF and vice versa?
2
votes
2answers
2k views

Running Different Versions of ArcGIS and Python?

As we know, there are few versions of ArcGIS (9.x,10) and Python(2.x,3.x) are in use. Issues are facing when we run scripts/toolbox of arcgis since the script written in one version of python and the ...

15 30 50 per page