(UMN) MapServer is an Open Source platform for publishing spatial data and interactive mapping applications to the web.

learn more… | top users | synonyms (1)

0
votes
1answer
271 views

MapServer Mapfile and OpenLayers: using SIZEUNITS. Labels shrinking on 1x zoom and points disappearing upon zooming in

I am trying to set the symbol radius to 100 miles. This seems ok (note, not including the whole mapfile, just what's at hand here): LAYER NAME POIs TOLERANCE 50 TOLERANCEUNITS miles ...
0
votes
1answer
964 views

How to add Mapserver layer to Leaflet?

I have a layer in PostGIS in epsg:4326. Put in in MapServer: MAP IMAGETYPE PNG EXTENT 60.0 56.0 61.2 57.4701 SIZE 800 600 OUTPUTFORMAT NAME "png" DRIVER GD/PNG IMAGEMODE PC256 ...
0
votes
1answer
74 views

Mapserver 6.2 concatenate attributes in FILTER

Back in version 5.0 I had: FILTER ("<tcode:expression/>" eq '[STATE][COUNTY]') final version = FILTER ("11000" eq '[STATE][COUNTY]') so I would filter out the features with state = 11 and ...
0
votes
2answers
501 views

Problem with extent of mapserver wms/layer

I use mapserver with MS SERVER 2008. The problem with the correctly computing layer extend of Map server. If map file like this MAP NAME "test map" IMAGETYPE GIF EXTENT ...
0
votes
1answer
243 views

Mapfile + OpenLayers: accessing the database by column names (hover, onclick functionality) without using MapServer templates?

What I'm trying to accomplish: take the functionality below (see picture) and do the same without using a MapServer template (if this is even possible). I currently have a mapfile, and an openlayers ...
0
votes
2answers
430 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
1answer
96 views

Intersects Filter on WFS 1.0.0

I use WFS=1.0.0 on the Mapserver v5.6.6 and v6.0.1 with MS4W package. I want to get the Intersects of Spatial Operator. When I make getcapabilities request I see just "Intersect" like: ...
0
votes
2answers
99 views

MapServer: Symbol color is set in mapfile. Is there a way to change it using javascript (ie not in mapfile)?

I have a mapfile where the symbol color is set to blue. In my html I have a hover event that brings a popup when the user puts their cursor over the symbol. Working as intended. Now on that same ...
0
votes
1answer
105 views

Is there a way to control label density in mapserver?

I'm reading a US County Tiger Shapefile and everything is plotting correctly, but I want to slim down the number of labels shown at scales larger than the state level because it begins to overwhelm ...
0
votes
1answer
87 views

Unsupported WFS request in MapServer at Insert and Update

I'm created a WFS with MapServer (ms4w) and SQL Server DB. The wfs:GetFeature works fine. But I cann't get the wfs:insert/wfs:update to work, they return: <?xml version="1.0" ...
0
votes
1answer
117 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 ...
0
votes
1answer
335 views

Error running mapserver export in quantum gis

I have a project in Quantum GIS that I need to export to a .map file using de plugin mapserver export. I fill all the forms but I get this error when running the app. Any ideas of what is ...
0
votes
1answer
3k views

Query Feature using OpenLayers + MapServer

I'm trying to query a feature in OpenLayers, but it's returning just an image highlighted that is not possible to make zoom, pan and drag. My intention is to query a feature on the map like street ...
0
votes
0answers
48 views

MapServer/WFS with filter doesn't return result

I'm using MapServer version 6.4.1 with PostGIS for my GIS app. When querying a property through 'REQUEST=GetFeature' MapServer returns all the expected data correctly, but if it's set a simple filter, ...
0
votes
0answers
16 views

Python, KML and Geoserver/MapServer

I have this question: Is it possible to create an script that syncs a Google Drive folder with a MapServer/Geoserver and creates the visualization of an KML/HTML embedded file in Mapserver/Geoserver? ...
0
votes
0answers
7 views

Error after do search with suggest

After does search in my map server using framework pMapper, enter in looping infinity, but show the info requested. Show this information in console: Failed to load resource: net::ERR_CACHE_MISS ...
0
votes
0answers
11 views

Mapserver rendering of points takes too long

I have a mapserver configured with a mapfile and things are mostly fine except for the fact that my shapefile has many many points in it. This means mapserver takes a while to render the image at far ...
0
votes
0answers
13 views

How to publish a self made shapfile on web by any open source mapserver [duplicate]

I am very new in GIS web mapping and all. Right now I am working on qgis to make maps and I have shapfile format of my maps. But not i want to show that maps on my website. So i need to setup a ...
0
votes
0answers
12 views

I'd like to change the style of a polygon based on its size in Mapserver?

I would like any polygons on a certain layer that are larger than 40,000 square feet to draw as transparent.
0
votes
0answers
41 views

How to stylize/design maps without tools like m*p b*x (paid tools) using OSM data

I would like to know, how i'm able to stylize/design maps without using paid tools. I would love to work with Openstreetmap data. I know i could stylize these data in free GIS softwares like QGIS but ...
0
votes
1answer
17 views

Map server not displaying data from other network locations?

I have installed MapServer and try to access raster file(.img) from other Network locations (NAS), which is displaying map background color for the mapcanvas.I have also tried to load the same raster ...
0
votes
0answers
27 views

Web map survey/questionnaire

I have implemented a new web map application in my organization and I want to do a survey/questionnaire for the web map users (both internal and external users) to collect information about what they ...
0
votes
0answers
54 views

mapserver and openlayers3 - map not displaying properly

After literally 20 hours of banging my head against the wall without success, I'm hoping that my issue is a trivial syntax error or perhaps something obvious to somebody who knows more than myself ...
0
votes
0answers
11 views

Connect mapserver with oracle spatial

I install mapserver using osgeo4w. Now, how can i set connection between mapserver and oracle spatial? sorry for bad english. help me.
0
votes
0answers
24 views

How to send parameter to mapfile from javascript with query to show map in browser?

I try to send parameter to mapfile but it's seem it didn't work very well. Can anyone help me find solution please? Here's my mapfile webgis.map MAP NAME "Banda_Aceh" SIZE 2000 900 UNITS dd ...
0
votes
2answers
56 views

SQL filter to show one layer only if another layer is missing

I have two oracle tables that represent buildings in my town. The first table represent buildings that are surveyed and measured accurately but doesn't cover all the parts of the town while the second ...
0
votes
0answers
14 views

Do you have some reference to create WebGIS? [duplicate]

I need to create a webgis for my thesis. My thesis is create webgis with ms4w and mapfish as framework. I have trouble to show my map. I load map from postgis. So, I need some reference to continue my ...
0
votes
0answers
32 views

Replace for Tilecache?

I tried to use Tilecache with my mapserver/openlayers/postgis/cygwin configuration, but no success so far, I just got tired of keeping digging in the whole system to get that thing working. So, could ...
0
votes
1answer
39 views

Create Tile Service using Mapserver

I have a WMS Server (using MapServer and Apache on windows). I want to use that server as Tile service. I googled and found TileMode, Tile Indexes and MapCache services. but i don't know what is the ...
0
votes
0answers
27 views

How to use Offline GoogleMap Tiles in mapserver?

I've downloaded GoogleMaps Tiles from zoom 9 to 16 in selected area with "Offline Map Maker". I want to add this Tiles to my map in MapServer. How to do it?
0
votes
0answers
17 views

How to get attribute details from shapefile in ms4w?

server through my initial search I do some basic coding. Now my problem is how to show the attribute details from shapefile. I can able to get map but I am not able to get names. below is my code: ...
0
votes
0answers
28 views

how to open shapefiles in web interface using mapserver and postgresql?

As I am new to coding I am unable to understand how to connect postgresql database to mapserver in asp.net and to display the shapefiles in web interface.
0
votes
0answers
21 views

at which location to run psql2shp command in linux [duplicate]

I have linux system which I have connected remotely and I am not able to use $psql2shp command in the command line. I went to /usr/local/pgsql/data to run the command but I was unable to run. I dont ...
0
votes
0answers
24 views

Tiny “geo scratchpad” server for fast import and preview of dxf

Background: I want to create a self-service website where customers can upload dxf data (building data mainly). The data can be brought into a suitable legacy .dxf format if need to, using external ...
0
votes
0answers
16 views

Blank map in result page using Mapserver file

I am using Mapserver .map file to retrieve the data into my map but I get only a blank page instead of data on the map. I am using the below query to fetch the data from a postgresql: DATA "the_geom ...
0
votes
0answers
59 views

FastCGI with MapServer

I am running MapServer as a CGI through a python wrapper script on Linux (CentOS). For performance reasons I would like to make the switch from CGI to FastCGI but am having some trouble figuring out ...
0
votes
1answer
23 views

MapServer - Not Rendering All Features With Complex DATA statement

I have run into a little problem when using MapServer to render complex data statements. To keep this post short and simple, I think the output of shp2img is the best place to start. When I use ...
0
votes
0answers
26 views

Mapserver and SLD Files

I have a set of data layers that define a map from small to large scales. These layers are available through mapserver and are grouped in the mapfile so:- LAYER GROUP large_scale NAME roads .. ...
0
votes
0answers
72 views

Run-time substitution on MapServer with Leaflet

I have a MapServer instance and map file displaying data in selected countries using a Leaflet WMS tileLayer. This map file works to display points from a single country (showing the LAYER definition ...
0
votes
1answer
170 views

Feature table: Mapnik, GeoServer, CKAN, GeoNode, GeoNetwork?

I'm trying to get a clear view of the roles of different components here, this is not a "which is better" comparison, these components have different roles, but their functions overlap. (Comparison ...
0
votes
0answers
37 views

Mapserver: Change legend font color from CGI Request

As the post title says I´m needing to alter the legend color in mapserver in a cgi bin request. Actually I have a website created in OpenLayers and Mapserver and I use legends with white font color ...
0
votes
0answers
43 views

Install Mapserver on Mac OS 10.9 with macports 2.3.1

Does anyone have experience installing mapserver on Mac OS 10.9 with macports? It seems that there is one version, mapserver 6.2.1_2 supported by macports. However, whenever I tried to install it, I ...
0
votes
0answers
54 views

Calculate and Label the lengths of polygon edges/sides

I have got a map-server, postgresql/postGIS & Google map API implementation. Users will draw polygon features after logging in. I would like to Label the sides/edges of a polygon with length ...
0
votes
0answers
34 views

How to mask an vector field layer in MapServer?

given this layer def: LAYER NAME "waveswell_sigheight_grid" TYPE POINT CONNECTIONTYPE uvraster STATUS OFF #MASK "water_outline" #I get a "no data received" error in my browser ...
0
votes
1answer
28 views

Expression with postgis

I'm using mapserver and PostGis and I want to draw a geometric table in mapserver. The trouble is when I connect mapserver to PostGis and I want to draw the objects but in different colours. I mean I ...
0
votes
0answers
97 views

MapServer/Mapcache Getting “This XML File does not appear to have any style associated with it” when trying to open map

I have installed mapserver and mapcache using the guide here: http://trac.osgeo.org/mapserver/wiki/RenderingOsmDataUbuntu I have successfully generated a map, and verified that it works using the ...
0
votes
1answer
28 views

Passing the value of runtime variable in WMS request

I'm trying to make runtime variable inside the where clause of my sql query like "select geom from table1 where sname = '%s%'. but when I'm trying to pass the value of s during WMS request (from the ...
0
votes
0answers
66 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 ...
0
votes
0answers
61 views

OpenLayers.Layer.WMS and mapserver

I have a problem when I add a OpenLayers.Layer.WMS, I get a picture of my map but I can't do zoom on it. I read a lot of questions here but nothing help me. My mapfile is: MAP CONFIG "MS_ERRORFILE" ...
0
votes
0answers
127 views

Cause of MapServer Internal Server Error: Premature end of script headers: mapserv.exe?

I have changed MapServer version up to 6.2, changed folders Apache/cgi-bin and Apache/php, and replaced file cgi-bin/libmap.dll with ignore/oracle/libmap.dll. When I type 'mapserv -v' in cmd it ...