Tagged Questions
0
votes
1answer
71 views
What should I start with WebGis Mapserver?
I'm not native English Speaker and I'm a graduated student who want to have a master degree in software engineering.
I have a thesis relative with "Build a WebGis for air pollution in Vietnam's ...
0
votes
1answer
108 views
Get lon/lat of feature in postgis
I'm hava a problem
I have a point layer (shapefile) insert to postgis! I'm using MapServer and OpenLayer to display layer on map!
Now, i want get lon/lat all feature of layer!
Hope somebody can help ...
0
votes
0answers
99 views
How to pass parameter postgres sql to Map file - java
I am new to GIS. I want to pass a parameter map file dynamically. Or how map file fetches the data from the database. I can't find out the solution. This is my map script.
LAYER
CLASSITEM ...
0
votes
1answer
59 views
How to use bbox in long/lat with google/bing/etc… using mapserver
The bbox of OpenLayers.Control.GetFeature works in utm when the baselayer is 900913 ie. google/bing/etc) and in long/lat when the baselayer is 4326 (ie. my postgis layers served by mapserver), no ...
1
vote
2answers
65 views
Is it possble to set a PostgreSQL schema and table name as a variable in Mapserver?
In Mapserver it is possible to set a variable when connecting to postGIS. This way I have created an fill-in form where you can enter a postcode and then you get a result.
How can do this with ...
1
vote
1answer
57 views
caching part of a postgis layer in mapserver
I'm creating a layer in mapserver using postgis. The layer consists of many polygons. Sometimes some of those polygons will change. Is it possible to cache the layer tiles using something like ...
1
vote
1answer
181 views
Broken image from mapserver, png not rendering
I'm trying to render WMS MapServer data on top of Google Maps using the OpenLayers JS library. My problem arises when I try to render the data as a series of points throughout the New York City area. ...
1
vote
1answer
79 views
Is it possible to export raster data from PostGIS or MapServer as a base64 string?
Is it possible to output a PNG in a base64 string so that can be directly loaded into a browser? I've read through the PostGIS documentation which refer to the GDAL output formats. The GDAL output ...
1
vote
1answer
227 views
CGI mapserver with PostGIS layer: pass SQL WHERE clause in URL paramaters
I use a third-party software to generate a mapfile and serve them on a OpenLayers based interface from a postgis database.
The postgis table, representing the movements of monks in a specific area, ...
4
votes
1answer
117 views
Update PostGIS after updating GDAL?
I am using PostGIS 2.0 and I want to use the raster functionality through mapserver. It seems as if the latest official GDAL release 1.9.1 has an unstable PostGIS raster driver, as pointed out in a ...
2
votes
1answer
312 views
Access PostGIS Raster layer through mapserver
I am trying to use a cgi script calling mapserver to display a raster layer that is stored in a PostGIS database. However, only a blank white image is returned and I don't know where the problem is.
...
2
votes
1answer
236 views
Create WMS service from existing image tiles
I have image tiles (jpg image files with txt georeference info files; see picture) stored in catalog (about 12GB, size one image tile ~ 275*466 meters). It possible create WMS service of the tiles to ...
2
votes
1answer
68 views
cannot reproject postgis in mapserver
I am trying to set up a wms server using point data in a postgis (v 1.5.1, pgsql v 8.4) database and mapserver (v 1.5.1) (I know these are not the most current versions of anything, but my server is ...
0
votes
0answers
483 views
Problems with highlight data from database using MapServer WMS and OpenLayers
did someone try highlight features using MapServer and OpenLayers? I tried to create map, where I display layer from MapServer by WMS using OpenLayers. It works, but I cannot highlight features to the ...
1
vote
2answers
197 views
postgis, mapserver & openlayers: if data is not in table give an error / pop-up
I have created a website with postgis, mapserver & openlayers.
On the website you can enter a postal code and then a drivetime isochroon is created.
The problem now is that you can enter ...
4
votes
2answers
574 views
Options for PostGIS and Mapserver outputing SVG, and client with OpenLayers
This question is related to "Options for displaying PostGIS vectors in OpenLayers?", but I need SVG output on server. OpenLayers must render SVG directly.
We are using Mapserver6, and thinking on WFS ...
1
vote
1answer
213 views
Identify functionality using mapserver
I am just creating a simple web application using mapserver. It has the basic pan, zoom in/out functionality. Now what I want to try is to get an identify functional added into it so that when I click ...
1
vote
1answer
129 views
Not seeing the actual data value in getObservation response from MapServer 6
I'm experimenting with MapServer and SOS but I'm not getting back any useful data from the GetObservation call I'm doing. My .map file uses a Postgres query to get data and when I run that same query ...
1
vote
0answers
482 views
Cannot Display Data From POSTGIS
I try to display the data that I have converted shp into PostGIS database with MapServer and OpenLayers. When I try to show directly shp file is successfully displayed in OpenLayers, but when I try to ...
1
vote
1answer
565 views
Mapserver/PostGIS Query Error
I'm having some difficulty understanding the error I am getting from my mapserver/postgis program. I have the following map file:
MAP # start of map file
NAME "sample"
EXTENT ...
2
votes
1answer
1k views
Basic MapServer query of PostgreSQL/PostGIS database
I've just installed MapServer on a linux server and I am trying to understand how to display a basic map using a PostGIS database. I have displayed a shapefile in the browser, so I know that the ...
2
votes
2answers
869 views
Setting up WMS with PostGIS, MapServer and Apache
I am trying to setup a web map service (WMS) for rendering a few shape files that I have stored in a PostGIS database. I decided to use MapServer for rendering engine and has installed it on my Ubuntu ...
1
vote
1answer
784 views
How to connect GeoServer with Java to a PostGIS/PostGres database?
I am having trouble using GeoServer to perform a shortest path analysis between two network points. My question is about connecting GeoServer with Java to a PostGIS/PostGres database.
I know that in ...
2
votes
1answer
188 views
Mapscript - PostGis Error
I'm doing a spatial query, but I always get an error:
"msPOSTGISLayerGetShape(): Query
error. msPOSTGISLayerGetShape called
on unopened layer (layerinfo = NULL)"
This is my code:
layerObj ...
13
votes
3answers
859 views
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.
2
votes
2answers
378 views
Error when displaying .shp from postgis with mapserver
I have postgis database with lines in .shp format in 3D. I made connection in map file:
LAYER
NAME paths_3D
CONNECTIONTYPE POSTGIS
CONNECTION "host=www.*****.com port=5433 dbname=mountain ...
3
votes
2answers
860 views
Querying data linked to a postGIS database
My project is coming along nicely! A brief background on my project. I have a world map that is colored to show the country of origin of the students at a college. Each color represents the ...



