Tagged Questions
0
votes
0answers
14 views
Fatal error: Call to undefined function pg_connect() in /var/www
I have seen this error online, I have followed the online instructions. However when i do this and restart wamp it wont load up, it stays amber, as soon as i recomment in the lines and restart wamp ...
0
votes
1answer
46 views
Shp2pgsql - exec() not allowed on external server
Me and my collegue are using the shp2pgsql and psql commands in php code (a Drupal module to be precise).
We put these commands in a php variable and use the exec() command to execute them. This ...
0
votes
0answers
661 views
How to populate data from postgresql using dynamic php\html listing
In the form I created, I need two fields to be dynamically populated from the database while the other fields will be manually entered and push to the database. I have written a script that is able ...
0
votes
0answers
110 views
Can Nominatim use another OSM importer?
Nominatim comes with osm2pgsql by default and uses it to import the osm files during the initial set up (utils/setup.php).
Problem: I am experiencing problems with importing us-northeast.osm.pbf ...
0
votes
1answer
152 views
osm2pgsql import crashed!
I am currently importing a bz2 country file into PostgreSQL 9.1 database for Nominatim 2 using its setup.php that runs osm2pgsql.
After processing the nodes. it seems to be stuck at a certain spot ...
0
votes
0answers
82 views
Nominatim (postgresql) import problem: unable to start pgsql
While importing the planet files into Nominatim, I encounter the following error below. The import command used is ./setup.php --osm-file us-northeast.osm.pbf --all
I have been following the ...
1
vote
2answers
746 views
How to display a image from Postgres database
I have Images in bytea form in PostgreSQL/PostGIS database, i want to display them in a webpage using PHP - PostgreSQL.
I got lot of examples and I worked out but not getting output from them...
Few ...
1
vote
1answer
80 views
Thematic maps on Non Spatial Data in MapGuide
I need to create the thematic map on a polygon layer. But the data is not available in the layer; I am using Postgres database for that. It means I need to create the themes on layer using non spatial ...
3
votes
2answers
663 views
Using PHP with a web application?
I have been working on creating a web mapping application using ArcServer 10 and the JavaScript API. Recently I was told that queries need to be run using PHP due to prior work by another team. The ...
2
votes
1answer
1k views
KML PHP parser to INSERT into database
So I have a KML file which has attribute data(Inside the tag with about 12 data points). This file was generated on ArcGIS. I'm trying to write a PHP script to parse this KML file and insert the ...