1
vote
1answer
695 views

Python script for GRASS - executing from PHP

I wrote the following python script: #!/usr/bin/env python import os import sys gisbase = os.environ['GISBASE'] = "/usr/lib/grass64" gisdbase=os.path.join("PATH") location=LOCATION NAME ...
0
votes
1answer
239 views

PopUps for all the Feature layers

I am trying to create GeoExt action button to fetch the feature info from all the layers. I am still getting the info for my point features but I am getting nothing for the usa:states, that appears in ...
1
vote
0answers
389 views

Cannot merge dbf tables (problem with lock files???) [closed]

I am new to Python and to this community as well, hope someone could help me. I am running script to extract and merge toghether the tables of some Raster. Each Attribute Table presents only one row ...
3
votes
0answers
186 views

Geoprocessing Service to return Multidimensional Raster from a NetCDF file

I have tried to make this work for weeks with no results. I am trying to create a model in ArcMap that uses the Multidimension Tool "Make NetCDF Raster Layer" and return a raster to which I can apply ...
2
votes
1answer
1k views

Offseting lines with same symbology in ArcGIS Desktop? [duplicate]

I'm working in ArcMap 10 and have been tossed an electrical system map drawn in CAD to recreate in ArcMap. In several sections, different line numbers share the same structures for long stretches. ...
1
vote
1answer
402 views

cannot get rid of sr.lock files while FOR LOOPING dbfTables

I am new to Python and to this community as well, hope someone could help me. I am running script to extract and merge toghether the tables of some Raster. Each Attribute Table presents only one row ...
4
votes
1answer
245 views

ST_Intersects returns “incomplete” results

I've created a PostGIS database of bus stops and train stations (from the gtfs file of two transit authority -- CITLA is the bus and AMT_Trains is... well, the train). I've created a 200 meters ...
11
votes
5answers
2k views

How to build a geographic database of GPS logs?

On our aerial wildlife surveys we typically generate dozens of GPX files, and usually convert most of them into shapefiles for display in a GIS application. GPX files are a terrific way of keeping all ...
1
vote
2answers
495 views

Cannot get arcpy.MosiacToNewRaster to work with list

Below I have a snippet of a much larger code that I cannot get to work and I am not sure why. It seems that I always have trouble using arcpy functions with rasters. Can anyone help me get this code ...
2
votes
1answer
105 views

prohibited: getting knowledge from GoogleEarth photos/videos, and use it for own map?

Is it prohibited to use knowledge you get from proprietary images or videos? Example: I found a geotagged photo (ponramio) in Google Earth with a well on it. So I know: "Ah, there is a well where I ...
1
vote
1answer
1k views

PostGIS and geometry column

I have a csv table. Each record includes a start node (lat1,lon1) and an end node (lat2,lon2). I have already imported the .csv into Postgresql 8.4. Now I would like set the geometry column. I tried ...
0
votes
1answer
904 views

gdalwarp results in incorrect extent

I have a GeoTIFF that's 172800x86400 on the MODIS "250 meter" Sinusoidal grid (more like 231.7, but who's counting?). (You can find its metadata at the bottom of this post.) This bounty of resolution ...
9
votes
3answers
523 views

How to outsource scanning and georeferencing maps?

We have some historical paper maps and we want to get them scanned and geo-referenced and ultimately make a seamless map for a particular time. What vendors supply this service? (I have found ...
2
votes
0answers
153 views

Migration Issue With ArcGIS 10 in ExportOperationClass

I am migrating my Application built in Version 9.3.1 to version 10 In my code I am getting execption: {"Retrieving the COM class factory for component with CLSID {4147A362-EFC4-11D3- ...
0
votes
1answer
977 views

MRT (MODIS Reprojection Tool) input error

This is my first time to use Modis Swath Tool to deal with images. I've downloaded 4 MOD44B granules (using the FTP script method), and am trying to use MRT to mosaic them. When I add the 2 files I ...
2
votes
1answer
176 views

How do you ignore one-ways osm2po?

I've been using OSM2PO and it's a great system so far. However, in version 4.5.2, I can't seem to ignore the one-way restrictions for calculating walk distances. In the browser version, I check on ...
2
votes
0answers
535 views

View in ArcSDE 10.1 Problem

I have created a view by joining a feature layer and 2-3 other tables in ArcSDE database using help from James Richard Post. The view gets created fine in both SQL Server 2008 and also in SDE. In ...
3
votes
1answer
419 views

How to open a Spatialite non-spatial view in QGIS

I'm using Qgis 1.8.0, and spatialite 2.3 in a Windows Vista machine. I have a database in Spatialite, and I have created a view from one of its tables. When I open it in QGIS, using add Spatialite ...
1
vote
1answer
381 views

How to draw lines for diagrams?

Just before submitting bug: in Diagrams, there is possibility to use Position AroundPoint or OverPoint. Whatever I choose Line Options selection stays gray: I can't choose any line. So, I suggest ...
2
votes
2answers
3k views

How to read OpenLayers event object features?

This is part of an interface that uses a box to select features on a WMS Layer. This then writes the name of the features to a div as a list. var recycling = new OpenLayers.Layer.WMS( "Recycling ...
1
vote
1answer
251 views

It is possible to add A* to the pgrouting plug-in?

I am using pgrouting layer plug-in as described in this post: http://underdark.wordpress.com/2011/12/18/osm2po-part-2-pgrouting-on-osm-the-easy-way/ I am now able to calculate the shortest path using ...
3
votes
1answer
92 views

> - operator and “Shape_Area” field in a geodatabase

this might be a pure python problem or a problem with arcpy. please help me out: min_area = float(GKPROZ_functions.min_of_field(out_name,"Shape_Area")) print area_max if min_area > ...
1
vote
1answer
470 views

QGIS error when open project when layer via accesses the database

I changed from QGIS 1.7.3 to 1.8.0. Problem is that I can´t open QGIS Projects, QGIS crashes when there are layers involved loaded via access-database connection. I used eVis. What can I do?
3
votes
0answers
192 views

ArcSDE Database Refactoring Tools?

We are using liquibase as evolutionary DB change management tool in our applications, it works great when we use it in "common" database schemas. But we also work with GIS applications using esri ...
1
vote
4answers
601 views

Determining gradient of road segment

I've a shapefile of roads data. It contains information about terrain of road segments, i.e., hilly, flat, undulating, etc. I want to determine gradient of every road segment. I know this might ...
3
votes
3answers
1k views

What is a good projection for the whole of China (with units in meters)?

I get some GPS results which lay in China with WGS84 coordinate system, and I need to choose a projection to reproject for. First I chooses the UTM projection, but I find the results lay in ...
1
vote
0answers
320 views

ScaleLine shows NaN for LCC projection

I have used openlayers along with geoserver. My Map is having LCC projection by default, but SRS is EPSG:4042. The problem is that the scaleline shows NaN in meter as well as feet. How can I correct ...
0
votes
0answers
203 views

How to get x and y coordinate values of an annotational featureclass

I am able to get the x and y coordinate values from point, polyline, polygon and multipoint type featureclasses. However, I am unable to export x and y coordinate values of an annotational ...
1
vote
2answers
3k views

How to display a image from Postgres database

I have Images in bytea form in PostgreSQL/PostGIS database, i want to display them in a webpage using PHP - PostgreSQL. I got lot of examples and I worked out but not getting output from them... Few ...
2
votes
2answers
343 views

SDE 10.1 Layers Not Loading in ArcGIS Engine Application

I have an ArcGIS application that works great when loading layers from SDE 10.0 but fails when trying to load the layers when they're pointing to a SDE 10.1 server. The only difference is the layer ...
1
vote
1answer
162 views

QGIS Crashing in Ubuntu / 'Save As' browsing

When trying to create a new shapefile in QGIS on Ubuntu, I get a crash whenever I browse to a folder to save the file. Has anyone else experienced this?
1
vote
1answer
299 views

Setting Script Tool Parameters Using Python and ArcGIS 9.3.1

Can't quite figure this out and i'm sure it's a simple fix. I have a script that utilizes the AGSSOM tool. It first stops all published services, allows for databases to be tidied up by ...
6
votes
2answers
2k views

Detect Table of Contents Changes in ArcMap using ArcObjects?

What is the preferred and/or most efficient method for detecting a change in the table of contents in ArcMap using ArcObjects? My current implementation relies on a dictionary with the names and ...
7
votes
2answers
760 views

OpenLayers how to maintain layer ordering while using SelectFeature control

I'd like my map to display a few layers in a particular order. Some of these layers are Vectors, others are XYZs, and some of my Vector layers display attribution. Initial layer ordering works fine ...
8
votes
3answers
1k views

Counting points along polyline at given distance of every 40 Ft using ArcMap?

I've got a polyline representing a pipeline and have a pig run that has metal loss. I am going to create a points shapefile in ArcMap 9.3.1 of the metal loss locations along the pipeline but want to ...
6
votes
6answers
2k views

How to calculate the maximum distance within a polygon in x-direction (east-west direction) in PostGIS?

I am interested in the maximum width of a polygon, e.g. a lake, in the east-west direction. Bounding boxes will help only in simple polygons but not in complex concave polygons.
0
votes
2answers
460 views

Set Raster Cells Based on NoData from other Raster using ArcGIS Desktop?

I have just no clue on this problem. I want one raster to set its values to 0 or NoData based upon another raster noData or 0 values. It's like a reclassify, but between two different raster's. I have ...
0
votes
1answer
358 views

Is there a limit for how many layers can be put into a group?

I am Running QGIS Lisboa 1.8.0 on a MacBook Pro. I have several vector layers with similar information which clutter the Layers panel. I created a group to put them in but when I drag and drop the ...
7
votes
3answers
4k views

Is it possible to have a dynamic table in a data driven page environment?

I am creating a map series that has many polygons per sheet. There is annotation for the polygons however some polygons are very small with no annotation for them (annotation would completely hide a ...
1
vote
1answer
585 views

Creating a GeoExt Action from OpenLayers Function

I am trying to create a GeoExt function out of this OpenLayers function, which displays the getFeatureInfo. I was able to create this GeoExt.Action() but it does not give me any output. Any idea ...
4
votes
3answers
1k views

How to speed up Postgis raster layer display in QGIS?

i've been importing some digital orthophoto geotif files into postgis 2.0.1 via raster2pgsql tool (i also made 3 levels of an overview table - pyramid). Then i tried to import the layer into qgis via ...
4
votes
2answers
224 views

Is it possible to edit a layer in QGIS while there is an active query?

I am new to Quantum and I am digitizing polygon layers using the editing features. I would like to apply simple queries ('date > 2012/08/01'), however while the query is active I cannot edit the ...
1
vote
0answers
412 views

Why is there a shift between OpenLayers and vector layer in print?

Sorry for my poor english. I'm a very recent user of QGIS (QGIS 1.8; ubuntu 12.04). Does anybody knows why the .tif or .jpeg or .pdf files I generate with the QGIS composer have different layers ...
1
vote
1answer
2k views

Error when publishing Geoprocessing tool to ArcGIS Server

I've designed a model which compares some shapefiles to other shapefiles (I want to see if the files I get are the same as the files of my template). When I try to publish the toolbox (where the model ...
3
votes
2answers
401 views

Generate a pyramid of tiles by 1/2 scaling a higher zoom level

Given a set of tiles covering a large area at a particular zoom level (These are online on someone's tile server and will need scraping, but let's assume these are on disk if it's easier. With TMS ...
0
votes
1answer
102 views

Publish relationalship data from arcsde

I have feature classes and tables having relationship shored in them.(Feature classes has id as which is primary key in other table ). I want to publish the Feature class as a service on arcgis ...
4
votes
2answers
2k views

Field Calculator does not notice selection? [closed]

I have a problem with the Field Calculator in ArcGIS 10. I selected specific points of a Shapefile I want to calculate, but FC is always calculating all fields. Unfortunately there is no checkbox in ...
12
votes
3answers
4k views

Is there a way to use “Select by Attribute” in QGIS using a python command?

is there a way to use the function "Select by Attribute" in QGIS using a python command? In my plugin the user should enter a value via a GUI and this value should be used in a function which selects ...
0
votes
0answers
165 views

Can i assign a list or array to IRowBuffer Row without Row.set_Value()?

Is it possible to assign a list or array to IRowBuffer Row? I have something like the following: I have a fields (list) with values and i have to fill a Row with that values. public void ...
2
votes
2answers
633 views

How to calculate difference between bounds in Google Maps?

Is it possible, after "bounds_changed" event, to get polygon coordinates covering the difference between new bounds and previous bounds? Any idea how to do it? Any help would be greatly appreciated. ...

15 30 50 per page