All Questions

Filter by
Sorted by
Tagged with
50
votes
5answers
36k views

Bypassing 10 character limit of field name in shapefiles?

I'm exporting geometry with attached text attributes from oracle database to esri shapefile format (.shp) with Java and Geotools library. Attribute columns in our database have names with more than ...
50
votes
5answers
10k views

Debugging ArcPy scripts?

I have written many Python scripts using ArcPy in ArcGIS 10, and so far my only means of debugging is restricted to printing messages to the geoprocessing results window using arcpy.AddMessage(). ...
49
votes
17answers
36k views

Learning Python programming with generic GIS goals in mind?

In your opinion, what is the best book/site to learn Python with GIS goals in mind? By "best", I mean: not very long (book) easy to understand (book/site) good practical examples (book/site) For ...
49
votes
4answers
5k views

What are the FOSS equivalents to these ArcGIS products? [closed]

I'm a long-term user of ESRI software, and I now have a need to use free and open source software. I've been reading about OpenLayers, PostgreSQL, PostGIS, GeoServer and MapServer but I can't find a ...
49
votes
3answers
18k views

What is Lanczos resampling useful for in a spatial context?

GDAL includes a resampling method beyond the normal mix of nearest neighbor, bilinear, cubic and splines: "Lanczos windowed sinc resampling". I understand that its a convolution filter, but unlike ...
49
votes
14answers
40k views

Converting ArcGIS Server JSON to GeoJSON?

I'm creating a web map using Leaflet, and I want to be able to grab feature layers from our ArcServer. I have successfully been able to retrieve a feature class as JSON, but Esri's JSON objects don't ...
48
votes
7answers
97k views

Converting KMZ-file to KML

Is there an easy way (like unzip) to convert a KMZ-file to KML?
48
votes
9answers
61k views

Missing Processing Tools in Vector Menu of QGIS?

I'm missing all the usual processing tools in the Vector menu in QGIS 2.16 (eg vector overlay, analysis, etc). They do appear in the processing toolbox but there's no sign of them in the Vector menu. ...
48
votes
3answers
61k views

Reprojecting vector layer in QGIS?

I have a series of layers of lines (shapefiles) in My Project. The CRS of some are different and to merge them they all must have same CRS. When I use Processing/Toolbox/Qgis_algorithims/...
48
votes
12answers
4k views

Geocoding USA addresses that cannot be sent over internet?

For a one-time project, I need to geocode a few thousand addresses. In the past I've used various online resources for this kind of thing (e.g., Google Maps API), but the addresses I'm working with ...
48
votes
4answers
40k views

Joining lots of small polygons to form larger polygon using PostGIS?

I have the following layer using SRID 27700 in postgis: It's every administrative region in the UK, and (as you can see from the colour grouping) each of them has a text field specifying the county ...
48
votes
8answers
26k views

Comparing QGIS and gvSIG? [closed]

Many debutant GIS users are asking me which one is better QGIS or gvSIG. Since I use Qgis and I don't have any experience in gvSIG, I aways say that both are very nice softwares and the chose is a ...
47
votes
6answers
254k views

Displaying local file in Google Maps?

How can I get a KML/KMZ file to display on Google Maps without a public facing web server?
47
votes
5answers
37k views

What raster smoothing/generalization tools are available?

I have a DEM that I would like to smooth or generalize to remove topographic extremes (chop off peaks and fill-in valleys). Ideally, I would also like to have control over the radius or level of "...
47
votes
10answers
46k views

Alternatives to ArcGIS Online?

I am considering purchasing ArcGIS Online for a group of users who currently use about 5% of ArcGIS capabilities (ArcMap, simple map creation and information display) about 80% of the time. Primary ...
47
votes
7answers
141k views

What are Raster and Vector data in GIS and when to use?

What are raster and vector data in the GIS context? In general terms what applications, processes, or analysis are each suited for? (and not suited for!) Does anyone have some small, concise, ...
47
votes
7answers
43k views

OpenLayers low resolution and/or shifts in QGIS print composer?

I'm having trouble with the OpenLayers Plugin of Qgis and the map composer: If I create an OSM-background layer and if I want to export this, the OSM-Layer looks perfectly all right in the normal ...
47
votes
7answers
11k views

Tuning PostGIS for production environments?

What PostGIS documentation have you come across that has been helpful when tuning PostGIS for a production environment? I would like to get together with my DBA to setup a Postgresql/PostGIS ...
47
votes
5answers
171k views

What is the maximum Theoretical accuracy of GPS?

I was talking with a potential client, and they requested that we plot some points with GPS, with a maximum (or should that be minimum?) accuracy of 2 m. This is an area with no WAAS, and I was under ...
47
votes
2answers
13k views

Meaning of Simplify's tolerance parameter

The standard parameters of Douglas-Peucker's simplify algorithm are geometry and tolerance (e.g ST_Simplify in PostGIS). What's the meaning of the tolerance parameter? I know that the bigger the value,...
47
votes
4answers
23k views

Free GIS workshops, tutorials, and applied learning material

This Q&A lists free as in $0 workshops in GIS and related fields that have their material available to view or download online. The list is not limited to FOSS GIS, as GISers usually use a ...
46
votes
5answers
131k views

Showing popup on mouse-over, not on click using Leaflet?

Is it possible in Leaflet that popup opens on mouse-over, not on click? This is working for just one marker at a time, but I need it for a bigger number of markers: marker.on('mouseover', function(e)...
46
votes
5answers
20k views

Smoothing DEM using GRASS?

I have a SRTM DEM and I want to create a shaded relief from it. I created the shaded relief in GRASS and the result is very nice, but a little rough because the area is near flat and the DEM is 90m in ...
46
votes
1answer
28k views

Getting pixel value of GDAL raster under OGR point without NumPy?

I am working on a computational model of the abundance of wild pollinators across a landscape. The model itself is complete, and I am now struggling with a post-processing step. I have my GDAL ...
46
votes
13answers
26k views

Map matching links and ideas? [closed]

I'm using OpenStreetMap and its vectorial road network and I'd like to implement a map matcher algorithm. Currently I'm able, for each GPS position, to retrieve the nearest road segment and ...
46
votes
3answers
11k views

Are there newer routing algorithms (than Dijkstra, A*) in GIS databases?

There are works like Reach for A* from Microsoft researchers and Highway Hierarchies by Sanders and Schtolz (if I spell the name correctly) from Karlsruhe Uni. Both of them reduce the calculations ...
46
votes
3answers
70k views

Converting ArcGIS (*.mxd) file to QGIS (*.qgs) file?

I recently tried to use QGIS and I wondered if you can convert a draft ArcGIS map (*.mxd file) into a QGIS project (*.qgs file). This would avoid thematize the entire project.
45
votes
5answers
32k views

Is there an automatic function in QGIS to package all files in a project for transferability?

In my project, I use a lot of geodata from different directories. Now I want to give the QGIS project to a colleague (eg on a CD). Is it possible to copy the shapes from different directories ...
45
votes
2answers
42k views

What's the difference between EPSG:4326 and EPSG:900913?

I am a bit confused on EPSG:4326 and EPSG:900913. I thought that they were both same. Though as I am placing my features over GMaps, which is EPSG:4326, I need to define the srsname of the WFS layer ...
45
votes
9answers
19k views

Selecting features that do NOT intersect in PostGIS

Using PostGIS, I just want to select points that fall outside of polygons. Ultimately this is the inverse of the ST_Intersects, as far as I can see it. Example: I have a taxlot layer and a address ...
45
votes
1answer
61k views

How to install a QGIS plugin when offline?

Due to various IT policies at my workplace, QGIS is installed on a machine that is not connected to the internet. I wish to install a couple of QGIS plugins on this system. I have downloaded the ...
44
votes
10answers
10k views

Seeking spatial R tricks

R is becoming pretty strong tool for handling and analyzing spatial data. I learned some useful things through questions like these at SO and thought it might be useful to have something simmilar, but ...
44
votes
16answers
76k views

Interview questions for hiring GIS Analyst?

What are some suitable interview questions to ask candidates for a GIS Analyst position? I am looking for techniques for interviewing analysts at varied experience levels (we are currently looking at ...
44
votes
5answers
65k views

Smoothing/generalizing polygon in QGIS?

Is it possible to smooth or generalize a polygon in QGIS, perhaps by using a plugin like the generalizer-plugin for lines? I could convert my polygons to lines, smooth them and convert them back to ...
44
votes
5answers
52k views

How to call gdal_translate from Python code?

Is it possible to use some gdal API to call gdal_translate from Python code? I do not mean simply executing the gdal_translate.exe from the file system, but rather call it somehow in code so I do not ...
44
votes
12answers
4k views

Seeking top tier conference in GIScience?

In many fields, such as computer sciences, it seems to be quite clear which conferences are top tier and how a paper accepted to those conferences compares to journal publications in the same field. ...
44
votes
3answers
57k views

How to calculate polygon centroids in R (for non-contiguous shapes)

I've spent a little while figuring out the answer to this question. It's not immediately obvious from a Google search, so thought it may useful to post the answer on here. There is also an additional ...
44
votes
2answers
31k views

What is the difference between EPSG:900913 and EPSG:3857?

I'm using the QGIS google layers plugin to digitize a parcel as a shapefile. Later I want to import it to PostGIS. I know that google maps use a special 'google mercator' projection. What is the ...
44
votes
3answers
17k views

What is the current Web Mercator projection code?

The web mercator projection, popularised by Google Maps, seems to be given a new EPSG code every couple of years. EPSG:900913 (Google in calculator text) was an unofficial code EPSG:3785 - is the ...
43
votes
7answers
38k views

Choosing File Geodatabase (*.gdb), Personal Geodatabase (*.mdb) or shapefile format?

Previously, I have used geodatabases as an easy way to keep all files together rather than having dozens of shapefiles all over the place, and it is easier when finally exporting all the relevant data ...
43
votes
9answers
28k views

Open source methods for kriging?

I have a point dataset which I'd like to Krige, ideally using an open-source software package. If possible, I'd also like to choose the semi-variogram model during the process to improve the ...
43
votes
3answers
17k views

Reprojecting all geometries in PostGIS table?

I created a spatial table with SRID:4326. Now I want to change total projection to SRID:32644 into a new table. The old table should remain unchanged.
43
votes
8answers
23k views

Downloading OpenStreetMap Data

Is there a straightforward way to download data from OpenStreetMap (OSM)? Using North America as an example, I realize Cloudmade (Cloudmade no longer provides downloads of OSM) and Geofabrik (http://...
43
votes
4answers
43k views

Where does QGIS write its error log messages?

I want to read and copypaste the error log for the crashes I am experiencing in QGIS 2.0. The error I am getting freezes QGIS so I have to ctrl-alt-del. I can see the last message in the panel, but ...
43
votes
9answers
32k views

Tutorials to handle spatial data in R?

Does anyone know some good tutorials to handle spatial data in R? I know that there are some packages like rgdal and maptools but I haven't actually found usefull tutorials to get in touch with the ...
43
votes
4answers
46k views

Joining non-spatial CSV file to spatial data (shapefile) using QGIS?

I have a CSV file which has postcode data in a field, but it is non-spatial e.g. no Easting and Northing. I have a shapefile with postcode in a field and some additional data. I want to join the ...
43
votes
6answers
34k views

GeoPandas: Find nearest point in other dataframe

I've got 2 geodataframes: import geopandas as gpd from shapely.geometry import Point gpd1 = gpd.GeoDataFrame([['John',1,Point(1,1)],['Smith',1,Point(2,2)],['Soap',1,Point(0,2)]],columns=['Name','ID','...
43
votes
3answers
40k views

Why is law of cosines more preferable than haversine when calculating distance between two latitude-longitude points?

In fact, when Sinnott published the haversine formula, computational precision was limited. Nowadays, JavaScript (and most modern computers & languages) use IEEE 754 64-bit floating-...
43
votes
7answers
18k views

Comparing two spatial point patterns?

If I have two point pattern distributions within the same geographic region, how would I go about visually and quantitatively comparing those two distributions? Also assume I have many points within ...
43
votes
4answers
37k views

Reading KML file into R?

I'm working with huge .kml files (up to 10 Gb) and need an efficient way to read them into R. Until now I've been converting them to shapefiles via QGIS and then back into R with readShapePoly and ...

15 30 50 per page