Most Popular

1500 questions
17
votes
3 answers

Using geometry rather than geography data types in SQL Server Spatial?

Historically I've mainly worked with simple latitude and longitude coordinates in a SQL Server. I stored them as a geography datatype in SQL Server, and rendered them on a variety of displays (primarily Google Maps). Recently I've started working…
Eric
  • 343
  • 1
  • 2
  • 9
17
votes
1 answer

Georeferencing raster using GDAL and Python?

I want to georeference a raster using python and GDAL. My current approach is to call gdal_translate and gdalwarp using os.system and an ugly list of ground control points. I'd really like a way to do this natively within python. This is the current…
djq
  • 16,297
  • 31
  • 110
  • 182
17
votes
2 answers

Is there a standard for the specification of .prj files?

We use shape files for data exchange. I've looked at the .prj files: different programs produce different prj files. Is there a standard how the parameters must be specified in a prj file? AFAIK the name of the projection (e.g. PROJCS["ETRS89 / UTM…
Jens
  • 6,219
  • 2
  • 30
  • 43
17
votes
1 answer

Parsing file format for attributes in Raster Product Format (RPF) maps and imagery?

I'm trying to implement an open-source NITF reader (using only java, no external libraries such as GDAL or NITRO), and its mostly going OK. However I'm having trouble understanding the RPF extensions, in particular the attributes in the RPFDES…
BradHards
  • 12,881
  • 2
  • 37
  • 70
17
votes
3 answers

Visualization of 3D shapefiles with Mapserver and Postgis

I'm wondering is there a way to visualize 3d data with mapserver? 3D .shp files are in postgis database, and I already connected mapserver to database, but with simple layer in mapfile.
againstflow
  • 5,034
  • 18
  • 56
  • 87
17
votes
5 answers

Create voronoi diagram from line segments

I'm looking for a way to create a voronoi diagram based on line segments instead of points. See the example below (taken from this presentation). Ideally I'd like something I can script from Python, but a solution using ArcGIS or similar would also…
Snorfalorpagus
  • 4,934
  • 3
  • 34
  • 51
17
votes
2 answers

Cut polygon shapefile by line shapefile

I have two shapefiles, a polygon shapefile (lake) and a line shapefile (boudary) I want to create a new shapefile "polygon to the north of the boundary" What tool can I use in QGIS or other free GIS for this task?
jirikadlec2
  • 1,330
  • 3
  • 19
  • 28
17
votes
2 answers

Open source alternative to ArcGIS geoprocessing service concept?

I am searching for any examples of implementing a logic that Esri has built with geoprocessing services. You author a custom tool or it can be a system tool >> you publish it exposing this functionality as a web service >> you consume the web…
Alex Tereshenkov
  • 29,912
  • 4
  • 54
  • 119
17
votes
6 answers

Spatial databases learning resources for newbies?

Would be taking up a course on spatial databases next semester. Would anybody know a newbie friendly introductory resource? A vendor neutral one would be preferable.
R.K.
  • 17,405
  • 3
  • 59
  • 110
17
votes
2 answers

Are OSM ids unique over all Object types?

Are OSM IDs unique over all Object types? Meaning, can a way-ID occur as a relation-ID or a node-ID as a way-ID?
wutzebaer
  • 351
  • 2
  • 8
17
votes
2 answers

Making ArcGIS for Desktop play sound on speaker when model completes?

I would like to be able to sleep while Models are running for much of the night in ArcGIS for Desktop . I would like to have ArcGIS for Desktop play a sound when it finishes, to awaken me. Is this possible?
Aaron
  • 171
  • 3
17
votes
1 answer

Eye-friendly colours for long periods of work

I am digitising a large amount of remote footways and I will be panning, zooming a lot and I've done 2 days on this so far and always get quite a bad headache. Is it the colours I'm using? I have a pre-existing footway/road layer that I am adding…
Alan Carr
  • 2,475
  • 6
  • 28
  • 44
17
votes
1 answer

Self terminating Python script in ArcMap?

I have tried sys.exit, but it doesn't seem to work in ArcMap 10. Anyone know how to do it?
Tanner
  • 7,375
  • 14
  • 62
  • 109
16
votes
2 answers

How to overcome field truncation when converting OSM to shapefile with QGIS?

I am trying to convert an OpenStreetMap file into a shapefile, but I am having problems with the "tags" field being cut-off after 80 characters. With QGIS 1.4, I use the OpenStreetMap plugin to 'Load OSM from file'. The file loads in QGIS. If I…
Joshua Galecki
  • 375
  • 1
  • 9
16
votes
5 answers

Reading ODBC connection using QGIS?

I have a co-worker who manages a large MS Access database that contains X & Y fields for various locations he tracks. We have previously exported the data to CSV and used the QGIS Delimited Text Plugin to plot the locations. We would now like to be…
RyanKDalton
  • 23,068
  • 17
  • 110
  • 178