Tagged Questions
8
votes
6answers
194 views
Is there a way to connect to PostgreSQL in ArcCatalog without SDE? [duplicate]
Is there a way to connect to PostgreSQL in ArcCatalog without SDE? I came across this post from 2011 that suggested using zigGIS but I can’t find a working link to the program.
A little background: ...
0
votes
1answer
36 views
Schema for offline map editing and pass to production environment
I'm working with QuantumGIs and PostgreSQL/Postgis. So when I edit the layers, the changes are reflected on the DB.
The thing is I want to do some "offline" editing before committing the changes to ...
1
vote
0answers
36 views
Determining the SRID of a dataset in PostGIS [duplicate]
Sometimes the dataset provides some information about its projection. For example, it can mention Horizontal_Datum_Name: North American Datum of 1983, Ellipsoid_Name: GRS1980, ...
0
votes
0answers
12 views
Units of Geometry & Geography data type [duplicate]
When you store data using the Geography data type (like in PostGIS), is it always in lon/lat in degree decimals?
For the Geometry data type, what are the units used in the coordinate pairs? Can it ...
1
vote
3answers
77 views
Copying schema of Postgis or Spatialite DB to blank one
I want to copy a Postgis or Spatialite DB sctructure (features, tables) to a blank DB. In ArcGIS i can easily handle it by using XML Workspace Document. Fisrtly extact it from a Geodatabase and than ...
1
vote
0answers
100 views
Setting geometry types importing to PostGIS with OGR
I'm using ogr2ogr to import data into a PostGIS database. Each dataset I need to import has (theoretically) the same exact data structure, but it appears that they are not the same geometry types. ...
2
votes
1answer
52 views
point of intersection issues
I have a table containing a set of points of intersections.
Most of the roads intersects whith just one road BUT i have some roads which intersects with two, therefore three different point of ...
4
votes
2answers
145 views
PostGIS stored procedures
I am wondering if there are open source applications that make extensive uses of the special functions (the ST_* stored procedures) provided by PostGIS? I found many apps that support storing map data ...
3
votes
1answer
119 views
Routing with multiple points
I am using postgreSQL, postGIS and pgrouting. Now I am really confused on how am I going to find the shortest path between multiple points.
I know how to find it between two points through dijkstra ...
1
vote
2answers
98 views
mulitlinestring to linestring
I am using postgres with postgis and I have a set of points which I would like to interpolate with a set of lines.
Now my problem is that the set of lines are of type multilinestring.
Is there a ...
2
votes
1answer
57 views
St_buffer width issues
I am using postgres with postgis for spatial data and ArcGIS for visualisation. I am really confused regarding what units the st buffer function uses because when I insert just the value 1 as ...
2
votes
1answer
73 views
postgis values within XYZ viewport in openlayers
I got this XYZ server where I get my maptiles.
Now, when the user is at zoom level 1 ( closest). I want it to execute a command that gets the current viewport from the map and Queries my PostGIS ...
13
votes
5answers
309 views
What in-depth spatial database systems tutorials exist?
Is there a good tutorial that explains in depth the internals of a GIS and a spatial database system such as PostGIS with examples and without any background assumption? I'm specifically looking for ...
8
votes
2answers
386 views
Postgres/Postgis spatial index - no speed up
I have a spatial table in a postgres/postgis database. Every row in it represents a Polygon. It is of following form:
+----+--------+
|gid | way |
+----+--------+
|241 | 01030..|
The geometric ...
1
vote
0answers
27 views
Creation of 3d terrain from real data [duplicate]
Possible Duplicate:
3d terrain from data in postgres
I am pretty new to spatial database and 3D data. I have a project where i have to create a 3d terrain from data being taken by me by a ...
2
votes
1answer
94 views
Finding the Geometry within which a Point falls
I have the following query, which takes on average about 4 seconds. How might one improve the query such that the same response comes back faster?
SELECT * FROM geometries g
ORDER BY
...
0
votes
0answers
103 views
how to show LINESTRING intersection with other layers in Openlayers?
I'm using Postgis/Geoserver/Openlayers and I have a query that gets al the "towns" that are near a "road". Now, "road" and "towns" are different layers, and I want to show them in Openlayers.
But I ...
2
votes
1answer
261 views
Error creating a spatial database. ERROR : could not load library “/usr/pgsql-9.1/lib/rtpostgis-2.0.so”
I am running PostgreSQL 9.1 with Postgis 2.0 on Fedora 15.
When trying to install the raster support,
psql -d mydb -f rtpostgis.sql -v ON_ERROR_STOP=1
I get the following error
...
6
votes
2answers
1k views
Spatially enabled Postgres database
I am trying to create a spatially enabled PostGIS database. I am following the PostGIS documentation, http://postgis.refractions.net/documentation/manual-1.5/ch02.html#id2648455.
In the short ...
2
votes
1answer
399 views
MySQL GeoSpatial function for ST_Distance_Spheroid? Metric used in return Type of GLength?
Is there a ST_Distance_Sphere, ST_Distance_Spheroid equivalent function in MySQL's GeoSpatial Support?
If not, any way to emulate this?
What is the metric used in return type of ...
5
votes
1answer
2k views
How to create a tables from existing tables (applying new schemas) in postgis DB?
I have a table that is geospatially enabled; that contain world borders. I want to break it down to different schemas (global, europe etc..) . My thought is to use use something that looks like this:
...
7
votes
2answers
7k views
How to insert a point into postgis?
I have created one table in my Postgis. But I can not insert point. I do not know what's wrong with my query?
CREATE TABLE app (
p_id INTEGER PRIMARY KEY
);
SELECT ...
1
vote
1answer
367 views
DatabaseError: Coordinate values are out of range [-180 -90, 180 90] for GEOGRAHY type
I am using Django 1.3, PostGIS 2.0 , Postgresql 9.0 and GeoDjango.
I had a database with a table for places. This table had latitude and longitude for places in the US. I enabled this database with ...
1
vote
0answers
183 views
Manifold 'Link drawing to query' - can I do this in QGIS?
Manifold GIS allows the creation of dynamic drawings linked to queries.
Unfortunately I do not have access to Manifold as my employer refuses to pay for it, so am currently investigating ...
1
vote
1answer
183 views
How to get route plan with certain distance with pgRouting?
I am working for a project. I have a road network which has been imported in PostgreSQL/PostGIS database. I can query shortest path between two points. I want to get route plan with certain distance. ...
1
vote
2answers
83 views
How to fix “Error, query must return columns 'id', 'source', 'target' and 'cost'”?
I have one spatial table with gid, FNODE_, TNODE_ and LENGTH column in my Postgresql/PostGIS database. I am using pgRouting. Problem is, when i try with shortest path query it shows following error. ...
10
votes
1answer
687 views
Can you query overlapping user-defined polygons at a given point in Google Maps?
I need to find out the limitation of working with the Google Maps API, and the possible solutions for doing semi-complex spatial comparisons.
What I'm looking to achieve is a system of comparison ...
5
votes
2answers
323 views
Reduce Tracking Data Set
I'm building an application that uses data from GPS units on board vehicles and displays it on a map. A lat/long is recorded every .5 seconds and a session can be many hours... this can add up to be a ...
18
votes
3answers
1k views
When should you NOT use a spatial index?
I am asking this because I was mainly working with Oracle but for the past year I've been doubling with PostGIS and SQLServer 2008. Most spatial functions in Oracle won't work without a spatial index ...
12
votes
3answers
888 views
Future of spatial databases
It may be a bit off-topic. I am eager to know the industry specific importance of Spatial Databases.
Is Spatial Database a very important part of any GIS system? Or will we use other technologies to ...
11
votes
2answers
693 views
Mixing geometry types in one PostGIS table
I've faced with the following problem. I have to migrate from Oracle database to PostgreSQL+PostGIS. Currently all geometries of all types are stored in one table and each record contains "lid" field ...
18
votes
7answers
919 views
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. Thanks.
8
votes
3answers
955 views
Beginner PostGIS question: getting geometry from multiple tables
I am very new to PostGIS, PostgreSQL, and SQL in general.
I have 44 tables in my PostGIS database, and each one represents a different layer of vector data. Each was loaded from a separate shapefile, ...
12
votes
4answers
337 views
What is a suitable Global/Universal Unique Identifier for a PostGIS database?
I have read that using OIDs as a primary key in a postgreSQL/PostGIS db is poor practice because there are instances where these can be reset. Sounds logical, but then what is a suitable alternative? ...
12
votes
3answers
788 views
Centralizing shapefile data into database
I've got hundreds of shapefiles from various different GIS projects that I want to start consolidating into a single database platform, currently attempting this with Postgres / PostGIS.
Hardly any ...
3
votes
3answers
630 views
Spatial Database Design (PostGIS) - Point data that doesn't always have spatial data
I am creating a spatial database using PostGIS.
I am storing the attributes and location of some species records that can be represented as points. The records are recorded from either:
a) static ...
18
votes
4answers
1k views
Would PostGIS offer an advantage over MySQL for a produce farm application?
I have a web app that stores the locations of farms in West Michigan. You can search for a product (e.g. "broccoli") and it will show you all the farms that grow that product.
Right now I'm using ...
27
votes
3answers
803 views
What coordinate system should be used to store geography data for celestial coordinates?
I am doing an astronomy project. I want to have the information about our images stored in a spatially enabled database. This, I would think, should be a very easy special case for GIS functions ...
3
votes
3answers
1k views
Writing a plugin for Qgis using python to access PostGIS and write geometries
Sorry about the strange title didn't really know how to word it.
I currently use MapInfo to do most of my GIS work however I have recently installed PostGIS 1.5 and am really liking it so far. A ...
