18
votes
4answers
28k views

How to get coordinates from geometry in PostGIS?

This line: SELECT geom FROM myLayer.geom will return a hex value, i'm wondering how would it be possible to get decimal values, a result that look likes human-readable coordination? Regards,
1
vote
3answers
2k views

ArcGIS Server geoprocessing service examples for shapefile data export

I have a web application client built using ArcGIS Server Manager which is currently showing a single map composed by three data layers. The map data are provided as a map service by my ArcGIS Server ...
2
votes
2answers
862 views

What can go wrong in UTM to WGS1984 conversion (shifted data)

I try to convert .shp files to OSM data with shp2osm and ogr2osm but the output data is shifted. Semi-Cross-Posting Warning: I have already asked a questions on the OSM help site, but this questions ...
1
vote
0answers
341 views

Any example of creating a time-aware layer (acrgis js api + ruby rails) using data from the server

I have a data set of points. Each point has latitude, longitude, date and description sent from the server I already have a graphic layer which is used for represening the points in a static way with ...
1
vote
3answers
557 views

Scripting (with) WPS?

As far as I understand WPS (web processing service) can be used to execute geospatial operations on the server side. Is it possible to create scripts with WPS? For example something like: 'check in ...
2
votes
1answer
2k views

How to add item to the ArcGIS Portal with the portal API?

I'm trying to add/update an item back to the ArcGIS Portal using the portal API, in much the same way as you would when doing 'Configure Application'. I am trying to use the update item call to send ...
5
votes
1answer
463 views

Good practices for storing connection info while deploying geoprocessing tool on Server

I have a geoprocessing tool written in python. It will be deployed on ArcGIS for Server 10.1 as a GeoProcessing Service and it's processing workflow includes some manipulations with data in SDE ...
1
vote
2answers
113 views

Distribute gridded data to corresponding subbasin boundaries?

I have one ArcGIS shapefile of my river basin consisting of many subbasin. Another shapefile showing the location of gridded points over the whole basin (Its latitude and longitude are used as file ...
2
votes
2answers
530 views

How fill length and feature count in PostGIS table for each polygons

I'am new to PostGIS/PostgreSql. I have a database which containts two shape-files : polygonal layer towns and linear layer of roads To calculate the length and feature count of 'Streets' inside ...
1
vote
1answer
592 views

How to get pixel size of Data Frame in arcMap layout?

The data frame where the map diagram will be presented in, appeared on the screen not in the actual size which is part of A4 page template, I want to get the actual size by getting the pixel size ...
5
votes
1answer
610 views

How can you join attributes from polygons to points which are within the polygon feature using PostgreSQL and PostGIS? [duplicate]

Possible Duplicate: How to perform a spatial join of point and polygon layers in PostGIS? I don't know how to solve my actual problem. I have polygons and points (some points are located ...
1
vote
2answers
171 views

information from a shapefile to another shapefile

I am very new to GIS and learning by myself so what I'm about to ask is possibly quite basic. I am using QGIS. I have a shapefile, which categorizes areas (land cover) by numbers (corresponding to ...
5
votes
2answers
924 views

How to recreate unique reference number with QGIS or PostGIS?

I have a shp file with about 500 odd records in it. It has an ID field but I want to add in a new field with a unique reference number. Can I use the field calculator to generate a unique reference? ...
3
votes
3answers
695 views

How to make Field Value constant size (length) by appending zeros towards end?

How do I append my field values in my .dbf to correspond with the values of my feature's attribute table. I need to append 0's to the field value if the field value is less than 11 characters in ...
4
votes
1answer
791 views

How to create polygon from xy data?

I have huge number of x and y data . these are left longitude,right longitude,buttom latitude and up latitude. each row is an extent of a polygon.i'd like to create a polygon using these data without ...
2
votes
1answer
1k views

rtree python polygon index

Sorry for a very basic questions about rtree. I would like to check whether the point is inside the polygon and the distance (point to the nearest point in polygon) as well. I was thinking about ...
3
votes
2answers
1k views

How to convert ESRI SHP to KML with correct coordinate system?

I am working on this SHP file, containing geographical district of Hong Kong. I would like to export this to KML and export it to Google Map for overlay. After I converted it to KML in QGIS (just ...
2
votes
1answer
748 views

Getting points within a range from a postgres database?

ok so this is query i'm making which returns no result: SELECT building.gid FROM building WHERE ST_Dwithin(building.geom, ST_GeomFromText('POINT(long lat)',4326), 400) If I run this ...
3
votes
1answer
95 views

Is it possible to create DEMs from ORT format in QGIS?

I recently requested DEMs for my area of interest. The data has however arrived in ORT file format - how do I create DEMs from this data in QGIS? When I open the files in Notepad there are three ...
6
votes
3answers
7k views

Check if lat/long point is within a set of polygons using google maps

I know how to do the above using Esri (Query task on shapefile), but can this also be done using Google Maps? Do I have to query each polygon or is there one method to query a set of polygons?
3
votes
2answers
109 views

pgRouting - Make fails on Mac

I am having trouble getting started with pgRouting. 1) from binary The Kyngchaos binary just won't install and says it requires PostgreSQL 9.1. I do have it, but probably not where the binary ...
1
vote
0answers
193 views

How to config geoserver to read style of vector layer from postgis/SQL store?

I've imported vector layers from map info pro to both SQL server and post gis using easy loader. In both cases I've included style column in the exported table. When I create new store in geoserver ...
1
vote
1answer
84 views

How to fix PJ_healpix.c in PROJ.4?

Michael Speth and i are in the process of fixing the PROJ.4 implementation of the HEALPix map projection (see http://trac.osgeo.org/proj/browser/trunk/proj/src/PJ_healpix.c for the current buggy ...
1
vote
0answers
207 views

How to integrate XML markers with MarkerCluster?

I'm having a problem integrating XML markers with MarkerClusterer. I need to integrate these two and show only the markers within bounds. I'm able to load the results in the XML to the map, but can ...
1
vote
1answer
248 views

Export Web Map Task for 3076 features

I am trying to use Export Web Map Task but it has a limit of 1000 records, how can I use this service or replicate this service to execute my print command. Any suggestions? I am working on ArcServer ...
3
votes
1answer
387 views

How to emulate the modulo operator in a style rule?

I have SHP layer loaded in QGIS. It consists of lines with attribute column z, containing integer value associated with line elevation in meters. Lines are drawn at 10 meter increment, and I want to ...
1
vote
2answers
109 views

Why is result from gp tool not being created on JavaScript API?

Ok I am really confused. I can see the output of the result from geoprocessing tool. But why am I not able to add it to the map. As you can see the result returns all the attribute values. This is my ...
4
votes
1answer
6k views

How to do a simple find and replace in QGIS field calculator?

I'm trying to replace selected string values in an attribute table, eg. "Text1" for "Text2" (QGIS 1.8.0), patriculary for those rows with NULL values. I have been trying to use the replace expression ...
4
votes
3answers
574 views

Can I publish a Bing map from OpenLayer Plugin in my thesis?

I have QuantumGIS 1.8.0. I made a map that I'd like to use in my thesis. I made it using Bing road layer map. I found it in open layers plugin. Do I have the rights to publish the map as a part of my ...
0
votes
2answers
179 views

Why does a track point layer attribute table have no positional information?

I imported a track log in GPX format to QGIS. The track had two layers, the track points and the track, a smooth line joining the track points. Why does the attribute table for the track points have ...
4
votes
1answer
289 views

How to extract most probable flow line from multiple lines?

I have to apply uncertainty principle to computing flow accumulation using Monte Carlo method. I generate raster with random numbers which represents mistakes in creating DEM. Then I apply those ...
17
votes
3answers
4k views

What are the alternatives to Manifold GIS?

Question from my father who is looking to explore alternatives to Manifold: "I am an independent environment consultant who is a heavy user of GIS for spatial data crunching, geo-referencing ...
0
votes
1answer
185 views

Feature count of current features in Extent based on attribute?

I have one points layer in a cached map service, symbolised with a unique renderer on one field. e.g. petrol stations, symbolised by the company who owns them. I want to create a fairly basic ...
2
votes
2answers
536 views

Why does Raster Calculator return GRID ERROR-Unable to open input grid?

I'm calculating Simple Ratio (SR) from NDVI using Raster calculator in Arcgis. Here is expression I wrote in Raster calculator. SR=(1+float[NDVI_apr.tif])/(1-float[NDVI_apr.tif]) But when I ...
1
vote
1answer
56 views

Prompting Dialog Box to Have User Enter Information without ArcGIS Engine?

Working with the ArcGIS family v10.1 on Windows 7. So, I have this vision for a GIS project that does the following: User opens up ArcGIS Explorer (ideally) or ArcMap (still fine), or I guess even ...
2
votes
0answers
319 views

How to use GRIB data in ArcGIS? (Zonal Stat as Table)

I am trying to calculate zonal stats as table with a python script for 45 .grib files from the ERA-40 Monthly Mean of Daily Mean database (http://data-portal.ecmwf.int/data/d/era40_moda/) for certain ...
5
votes
1answer
288 views

PostGIS ST_Rotate distorts polygon

I'm trying to rotate a box around its southwest corner using PostGIS. However, I am not getting the expected results when doing the rotation. I'm using SRID 3785. The image below shows what ...
0
votes
1answer
127 views

Creating rectangle over a buffer circle with specified angles/rotation?

I have a layer that is a circle buffer around a point. What I want to do is create a rectangle around the circle, but have every rectangle be perfectly lined up N/S (0degrees of angle/rotation). I ...
0
votes
1answer
134 views

How Trusted is ZipInfo.com's data?

I'm not in GIS, and I'm working on a nutty redball express project that involves matching some zip+4 data to congressional districts for the upcoming 113th congress. We have found very few sources of ...
7
votes
3answers
2k views

GDAL and Python: How to get coordinates for all cells having a specific value?

I've got an Arc/Info Binary Grid---specifically, an ArcGIS flow accumulation raster---and I'd like to identify all cells having a specific value (or in a range of values). Ultimately, I'd like a ...
1
vote
0answers
374 views

How to visualize MBTiles with OpenLayers using a PHP tile server?

This is repost as didn't get my expected answer. Please help me as I am newbie. I have setup the PHP Tile Server 0.1 and when I am calling the PHP server it showing the following Now I am triyng to ...
2
votes
1answer
2k views

Building a thin mapping client with OpenLayers

I have installed GeoServer, inside of tomcat, imported my postgis tables into geoserver and have created my styles etc. I can preview them using openlayers in geoserver. Now, i want to build a simple ...
3
votes
1answer
3k views

Import GPX file to QGIS and correct apparent CRS problems

I am using Easy Trails software on an iPhone to output a gpx file of a walk. When I import the file (import vector layer) to QGIS, into a project with OSGB information and the correct CRS for OSGB ...
6
votes
3answers
3k views

Is it possible to postprocess Trimble .ssf files without Trimble Pathfinder Office?

Is it possible to postprocess Trimble .ssf files without Trimble Pathfinder Office (differential correction - our sporadic use does not defend realtime correction subscription) ? We only need the ...
0
votes
1answer
842 views

What do I need in order to show offline map (tile cached based) of area from OSM using Openlayers?

I want to make an offline map with certain zoom levels of an area from OSM (preferably keeping the styles of OSM). Client will use OpenLayers , If needed I can install Geoserver/Mapserver and MS-SQL ...
2
votes
1answer
502 views

How to integrate Openstreetmap in Rails3.2 using Mongodb?

I'm planning to use Open street map in my Rails app to track locations, Can any one guide how to integrate Open street map with Rails 3.2, using MongoDB. Thanks
1
vote
1answer
492 views

How to convert images from the South African co-ordinate system to WGS84 lat/long?

I have a number of orthophotos for an area in South Africa, but they are projected in the South African co-ordinate system which measures a location in meters from a central (uneven) meridian. These ...
2
votes
0answers
90 views

SLD file already exists

Using Geoserver 2.1.3 I do delete sld using rest api with manually delete the sld file. But when I issue a POST new sld with the same name I got an error "SLD file test.sld already exists." Event ...
3
votes
2answers
2k views

General GeoDjango Opinion

I'm forced to crawl out of my intranet and create a public GIS site with quite an extensive dataset. All of my data is contained within PostGIS. I started dabbling with Geoserver/Postgis/OpenLayers ...
3
votes
3answers
1k views

Spatial index to speed up the query

I have spatial table in PostgreSQL 9.2 / postgis 2.0 that I have to extract some information from it. But my query is hopelessly slow. How could I make use of spatial index to improve the performance ...

15 30 50 per page