Quantcast
Channel: Question and Answer » postgis
Browsing all 371 articles
Browse latest View live

Find correct SRID

I’m learning PostGIS raster, and importing GeoTiff with raster2pgsql. This command line tool states: -s <srid> Set the raster's SRID. Defaults to 0. If SRID not provided or is 0, raster's...

View Article


Issues with QGIS WFS editing/PostGIS rendering

I want to be able to view and edit spatial data within a postgis database. I have tried using a WFS with Geoserver – but constantly get ‘Empty Response’ error and the Network log says the request timed...

View Article


Building web application to get PostGIS query from user and view result map...

I’m a newbie in web-map application area. I just found the small application in this tutorial interesting I am a bit confused, because when i publish a map using geoserver and openlayer, I have to...

View Article

Image may be NSFW.
Clik here to view.

All map services display pink tiles

I have implemented mapserver in Ubuntu 14.04 with postgresql 9.3, postgis and imposm using GitHub tutorial. After completing the tutorial all map services display pink tiles not map info. i was not...

View Article

Image may be NSFW.
Clik here to view.

Trying to map postal codes to their respective cities, but running into some...

The Problem I am creating a database of Countries, Regions, Cities and Postal Codes. Here’s an example to give an idea of the database structure as it is now: Now, let’s take Tuskegee University as an...

View Article


How to compute the smallest network that connects all points using PostGIS?

I have a set of postgis scripts which generates two tables – one of a set of points and the second a set of roads which surround them. All data is in the same projection and both outputs are stored in...

View Article

Collecting multipolygons into a single multipolygon with ST_Collect() in PostGIS

I would like to collect 50,000 individual multipolygons into one big multipolygon. Unfortunately when I perform ST_Collect(geom) it bundles them into a geometry collection and cannot be cast as...

View Article

Which type in entities for PostGIS/Hibernate Spatial

I already manage to store, read and update PostGIS rows with Hibernate Spatial with a Point and a MLineString in a very simple case : a MLineString defining a road, display a point along this road...

View Article


Image may be NSFW.
Clik here to view.

How to get the regional maximum or minimum of raster data by using PostGIS?

If I have Mean sea surface pressure data in raster format, is it possible for PostGIS to look for regional maximum or minimum? So that I can locate the L or H as the chart shown below? (image source:...

View Article


How to change the postgresql table to support postGIS?

I have a postgresql database which there is the table have lat & long columns. The postgresql does install the postgis extension. My question is how can I change the table with lat & long...

View Article

Image may be NSFW.
Clik here to view.

one label for two-lane roads (osm, qgis, postgis)

I labeled my osm-lines-layer (PostGIS) with symbols for primary roads and motorways. While the symbols for the primary roads are well placed – with enough distance between each – the two-lane motorway...

View Article

Need Help Converting Shapefile coordinates into lat/lon

I’m having a little trouble importing a shapefile into PostgreSQL. Using shp2pgsql, I’m able to import the non-geometry data just fine. However, the geometry data is coming in based on some coordinate...

View Article

Image may be NSFW.
Clik here to view.

Postgis – Split linestring between point A and B

I need to find the different trajectories between point A and B. In the image is possible to see 2 differents trajectories. The way i use to calculate them is: Found the min time and the max time (in a...

View Article


Where to type pgsql2shp command

How to convert post gis database into shapefile, I found that I need to use pgsql2shp command on postgis database query , But how to use it and where to use it. Do I have to use it in the postgre sql...

View Article

How can i use Kriging inside a Postgis database?

i use a postgis database with temperature data. I want to use a spatial interpolation method but not the supported IDW Method. I need to use the kriging Method. Problem is that its no a part of the...

View Article


Insert several gtfs feeds into the same postgis/pgrouting database

I want to import sevaral gtfs feeds into my postgis/pgrouting database so that I can route over all my gtfs feeds. The problem is that the sources / destinations ids of my gtfs are likely to conflict....

View Article

Ubuntu QGIS 2.4.0 SSL connection to remote PostGIS fails b/c can't specify...

I can connect with SSL in PGAdmin to my remote server, but it requires specifying the filepaths for certificate files due to my having different certs for different servers. However, when connecting...

View Article


Using ArcGIS and QGIS together in multi-user editing environment?

We have a GIS staff of 7, and another group of about 14 who “use GIS” from time to time. We really, really want multi-user editing. Mostly of a large point file, and we’re almost never in the same...

View Article

Image may be NSFW.
Clik here to view.

N Nearest Neighbours efficiently PostGIS/Python

The data is worldwide about a million points, lat/lons, with an id and an importance value (0.0 to 1.0), and it’s limited to being on land. Ideally I need to cluster all 1 million points into 100,000...

View Article

Viewing large set of polygons in PostGIS using OpenLayers?

I am prety new to GIS. I have set up a postgis database with al large dataset and a openlayers front-end to display it. But since the dataset is getting prety big I am looking for a way to only load...

View Article
Browsing all 371 articles
Browse latest View live


Latest Images