0
votes
2answers
72 views

How do I install PostgreSQL + PostGIS + MapServer + Python-MapScript on Ubuntu 12.04 LTS w/o compiling from source?

This question is similar to the one posted here... How to have PostGIS 2.1 and the Python osgeo library installed together without compiling from source? ...but since I'm new GIS Stack exchange, I ...
0
votes
0answers
52 views

mapserver postgis

I have a problem with my connection to my db. I get this message: msPostGISLayerOpen(): Query error. Database connection failed (fe_sendauth: no password supplied ) with connect string ...
1
vote
2answers
31 views

in mapserver, how would i style polygons differently based on a seperated points layer?

i have 2 tables in postgis - one of type polygons and one of type points. i want the color of the polygons to be related to the number of points within each polygon, say white when no points are ...
3
votes
4answers
196 views

Heat map / Density map from dynamic points table in MapServer (GeoServer)?

How can I create a heat map (some would call a density map) from a points layer in MapServer (or GeoServer)? (preferably able to choose Interpolation method, NN, IDW, etc and color map with a ...
1
vote
0answers
50 views

PostGIS raster connection is not closed by MapServer

I'm using PostGIS raster in MapServer like this: TYPE RASTER DATA "PG:port=6432 dbname='mydb' user='postgres' password='1234' schema='public' table='truemarble' mode='2'" PROCESSING ...
0
votes
1answer
46 views

Mapserver openlayer postgis spatial data are in postgis but label I want to display from webservice

My database of spatial data wkb is in postgis and my textual data is in sqlserver now is it possible to show labels through webservice. I have common id in both the database through which I can join ...
0
votes
2answers
72 views

Help with postgis on mapserver

just set up my mapserver on Ubuntu - all good. Downloaded this tutorial and it works fine: http://download.osgeo.org/mapserver/docs/mapserver-tutorial.zip I've tried adding a PostGIS layer to the ...
1
vote
1answer
175 views

PostGIS Raster in MapServer

I'm having trouble getting a PostGIS raster to load and display in MapServer. I'm not sure, but suspect it's a version problem. My mapfile layer and the error message are shown below. LAYER ...
0
votes
0answers
28 views

How to find & send alert SMS for next bus stop in a GPS tracking system (PostGIS DB)? [duplicate]

In my gps tracking system, I have got 5 Stops for a vehicle. Whenever the bus reaches stop 1, the passengers at stop 2 should get an SMS alert. And in the same way for the sops followed by. Stops ...
0
votes
1answer
86 views

How to provide a WFS in multiple projections

I would like to set-up an editable web feature service (WFS-T) for serving my geospatial data. The data tables are in a PostGIS database on the same server. For security reasons my server admin ...
0
votes
1answer
145 views

Serving WMS using Mapserver (Mapfile)

I want to display a map from Mapserver in Openlayers 2.13. I've prepared the Mapfile: MAP NAME "WMS Server" IMAGETYPE PNG EXTENT 106.637 -6.36199 106.78 -6.231 SIZE 600 300 IMAGECOLOR ...
1
vote
1answer
152 views

How to use Mapserver+Openstreetmap for tracking service effectively?

I have got Asset tracking installations for many clients. The availability of GIS map data for every client location seems to be the tough part. I have got a MapServer WMS installation. Can I use OSM ...
3
votes
1answer
353 views

postgis: difference with && operator and st_intersects

I found that there is a difference in result between using A && B operator or one of the geo functions like st_intersects(A,B) or st_overlaps(A,B) While the st_intersects or st_overlaps ...
1
vote
1answer
62 views

WHERE query when creating layer in MapServer

Is there a way to have WHERE clause when you're querying for postgis data on mapscript ? like, geom FROM country WHERE country = 'usa' USING unique gid. My current workaround is by creating VIEW. ...
0
votes
1answer
85 views

Difficulty with using truetype font symbols in Mapserver

I am basically following this workflow and having no luck. I have add a truetype font file to my fonts.list (under the alias 'ddv') however, I cannot get the fonts to render in the service. Any ideas, ...
1
vote
1answer
123 views

Error in displaying wfs layer from mapserver/postgis

I have read and tested all the relative posts but I still don't have a solution for my problem. I have a layer suscribers (points) stored in postgis database with srid=32232. I would like to display ...
0
votes
0answers
92 views

Transforming WFS Projection

I am trying to overlay features from a WFS using OpenLayers, my geometries in database are in EPSG:27700 and my map's projection is EPSG:3857. My mapfile returns data in EPSG:27700. Is there any way ...
2
votes
1answer
238 views

Best way to visualize the PostGIS Raster in OpenLayers

I have been stuck by this problem for a long time. Several ways have already been tried, but none of them works as I was expecting. Here are the description of each of these method as well as the ...
1
vote
0answers
184 views

MapServer Clustering GetFeatureInfo

I'm having a bit of a problem with clustering in map server the clustering itself works fine and the GetFeatureInfo works fine most of the time. However some times when I click on a cluster point it ...
3
votes
2answers
1k views

How to make a raster layer transparent via MapServer

I loaded a PostGIS raster Data through OpenLayer and Mapserver. The code inside the OpenLayer is as following : localWMS = new OpenLayers.Layer.WMS( "Local WMS layers", ...
0
votes
2answers
385 views

Mapserver mapfile with multiple layers that pull from postgis only gives broken image

I'm trying to use this mapfile that I made: MAP IMAGETYPE PNG EXTENT -90.000124 41.000032 -88.000044 42.000035 SIZE 1600 800 IMAGECOLOR 255 0 1 OUTPUTFORMAT NAME png DRIVER AGG/PNG ...
0
votes
0answers
90 views

What do we have to set in mapfile´s data parameter for SOS?

We are trying to run the MapServer SOS example at this link. However, we don´t know how to configure the data parameter in the mapfile. What do we have to set in mapfile´s data parameter? We need to ...
0
votes
1answer
189 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
209 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
1answer
113 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
197 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
89 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
409 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
151 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
701 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
206 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
728 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
435 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
86 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 ...
1
vote
2answers
294 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 ...
6
votes
2answers
955 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
329 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
197 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
649 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
954 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
2k 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
2k 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
973 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
255 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
1k 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
540 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
984 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 ...