(UMN) MapServer is an Open Source platform for publishing spatial data and interactive mapping applications to the web.
2
votes
2answers
396 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
1answer
155 views
How to make button with html and mapfile?
I have several raster layers defined in mapfile:
LAYER
NAME "01"
TYPE raster
STATUS off
OPACITY 30
DATA "01.png"
END
LAYER
NAME "02"
TYPE raster
...
2
votes
1answer
271 views
How to write EXPRESSION for main contours in Mapfile?
I'm working with mapfile. I defined new layer "contours" and I want to render with maxscale = 100000 and minscale = 50000 contours with value distance of 50. That means that I want in that scale ...
2
votes
2answers
863 views
WFS - MapServer - ASP.NET
Nowadays i'm working with Mapcript / Mapserver. I would like to know how to used WFS (Web Feature Service) with ASP.NET.
I think i need to use WCF, right?
Is there any tutorial or framework?
...
2
votes
3answers
1k views
QGIS Server not working (problem with fast CGI)
Is there a simple example/tutorial of how to set up QGIS Server with the latest QGIS version on Ubuntu, I can't get a correct result (blank image)?
I think there might be some problem with my FASTCGI ...
5
votes
1answer
229 views
Mapserver tiles - trouble with projection
I'm trying to render tiles with shp2img tool from Mapserver suite and my tiles aren't matching. Tiles are numbered like in openstreetmaps.org. This is an attempt to draw tile (level 1, x=1, y=0) which ...
3
votes
1answer
1k views
Mapserver: labels and tiles
I'm developing map with Mapserver to be rendered in tiles and testing output with Ka-map. Most of the time labels split on two tiles are matching, but sometimes they're not.
I configured Ka-Map like
...
4
votes
1answer
135 views
How to restore default values in Mapserver?
I'm using Mapscript reading a configuration of my map file, so i set some values in my mapObj. But in certain point of my code i need to restore the default values locate in map file. I tried to use ...
3
votes
1answer
315 views
Mapserver - Hide Labels
I'm creating a map with some layers, each one has a label, the problem is that, Mapserver is displaying the labels of bottom layers, so it is mixing all the label.
Is it possible to hide label that ...
1
vote
1answer
700 views
Using C# + Mapcript + Openlayers
Nowadays i'm using Mapscript and C# to generate and display a Mapfile, but in this way i need to create manualy the interface, is there any way to use Mapscript + Openlayers?
5
votes
7answers
2k views
What map source/API/tools are recommended to create Web GIS/Mapping application utilising Microsoft technologies?
I'm researching about technologies (around Microsoft tech) to create mapping application and would like to have advice/suggestions.
Brief requirement to build mapping application with Microsoft ...
3
votes
3answers
1k views
Using Mapscript to create a mapfile from scratch
Following a few online tutorials I have seen, I am trying to create a mapfile from scratch using mapscript. However, when I try to create the layer object, I get an error in the init of mapscript.py; ...
13
votes
3answers
6k views
Mapnik, Mapserver or Geoserver
I'm currently developping an ArcGIS based flex webviewer. ArcGIS is great for most of the things but there are some issues like performance and license costs.
That's why I'm looking into possible ...
1
vote
2answers
2k views
Export styles from ArcGis to a .map file
How to export styles from ArcGis 9.3 (or 10) to a .map file. Is it possible?
2
votes
2answers
173 views
Project geometry features upside down
I have shapefiles containing polygons and lines that are used in a mapfile for projecting them through Mapserver. Is there a way in changing the projection of the layers by 180 degrees(i.e. upside ...
1
vote
1answer
550 views
MapServer: apply a symbol to certain data?
I have a shp file which contains some points. Each point has a "POINTTYPE" attribute which contains text.
Is it possible to apply a different symbol basing on this attribute? For example, if ...
2
votes
0answers
475 views
dateline issue: wrapDateLine with MapFile
I am using wrapDateLine properties for OpenLayers.Layer.WMS for handling dateline issues. The problem with wrapDateLine is that I am getting the same polygon repetitively around the wrapped map as a ...
2
votes
3answers
587 views
MapServer - map rendered at the wrong angle
I've just started using MapServer to check the topology in my database, and whenever I render a map I have to flip the image vertically and then rotate it quite a bit to get it facing North. I've set ...
4
votes
4answers
1k views
What are my options for creating a tile cache via a WMS server which requires http authentication?
I'd like to create a tile cache and offer the tiles via TMS/WMS. The source is a WMS server that is protected by basic http authentication, but no SSL. I'll also need to reproject the tiles. This is ...
3
votes
0answers
302 views
Trying to fill polygon fills the entire map
I have been given some shp files to be displayed using Mapserver. Until now I was able to find the correct projections, display the map, and show labels. However, I have problems with polygon colors. ...
0
votes
1answer
208 views
How do I check if Mapserver is installed or not?
I have installed MS4W (full) and choose port 8080 because on port 80 i have already installed IIS7. Now installation of MS4W is successful , but how i check ? I put http://localhost:8080/ in my ...
7
votes
2answers
453 views
Maps, black and white/ gray scale printing
I'm working on Mapserver to do beautiful maps with AGG rendering
Until now, I've only thought about the best way to get color maps. Now, I have to think how to make color ones compatible with a grey ...
8
votes
6answers
2k views
How can I secure an WMS against unauthorized access?
In a project the customer wants the images of the WMS to be secured against unauthorized access. What are the common solutions to realize that? Are they compatible with the OGC-standards?
0
votes
0answers
85 views
tilecache problem with LABELMAXSCALEDENOM
I use tilecahce and mapserver and I have problem to showing labels. In mapfile when I use LABELMAXSCALEDENOM option the label layers not show in map. when I delete tis option the layer render without ...
3
votes
2answers
333 views
mapserver displays raster image in mirror
I've installed Mapserver and used a map file to set a raster layer and vector(shp) layers on top of it. However, although displayed in the expected order, the png file is displayed in mirror(compared ...
4
votes
1answer
310 views
Monster Spatial database server suggestions
I'm going to setup a open Mapserver w/ Openlayers, Geojango, Postgis using Postgresql. And I need some suggestions from people that have been shopping for what I need longer than I have.
What would ...
3
votes
2answers
869 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 ...
7
votes
2answers
3k views
displaying feature info in a popup
Thanks to Nicklas' anwer to my previous question...
I was able to "combine my shapefile and CSV data have made a lot of progress on my project.
Now I want to display the attribute data in a popup ...
8
votes
3answers
154 views
How can I show only some classes of a layer in UMN-mapserver?
I visualize a shape-layer in the mapserver. Now I want to make some requests for only some classes of this layer. I want for example one request for only the water-classes and later for only the ...
2
votes
4answers
272 views
mapserver not displaying anything
I've been reading through Tyler Mitchel's Web Mapping Illustrated and also downloaded a copy of the itasca sample from maptools.org. Then created some shapefiles in OpenEV and modified the itasca.map ...
3
votes
2answers
829 views
How can I change the line width of the outline for polygons in the Mapfile?
I display Polygons in the UMN Mapserver. With the OUTLINE-keyword I set a color for the outline of the polygons. How can I change the line width of this outline?
5
votes
1answer
148 views
How display outlines in a Map, only from a scale, but the colored polygon in all scales?
I want to display a shape with UMN-Mapserver. It has different coloured polygons and also outlines. But I want to display the outlines only, from a specific scale. I could add MINSCALE 150000, but in ...
4
votes
2answers
606 views
Does GeoServer and/or MapServer have a services directory similar to ArcGIS's services directory?
Does GeoServer or MapServer have anything analogous to the ArcGIS Server services directory? Is there a convenient endpoint where you can see all the services hosted on a particular machine?
Edit: ...
2
votes
2answers
720 views
MapServer computes wrong map scales — off by factor 0.77. Or is it just me?
I've noticed in a current project that MapServer seems to get the map scale wrong, or then I'm wrong, but don't see how.
My mapfile contains the following definitions:
RESOLUTION 72 # this is the ...
4
votes
2answers
2k views
How to debug “msProcessProjection(): Projection library error. no system list, errno: 2” error in mapserver?
I think I have a misconfiguration in my mapserver that is preventing it from serving up imagery.
In my map file, I have this section:
PROJECTION
"init=epsg:4326"
END
If I leave that ...
4
votes
2answers
573 views
Maturity of Mapserver mapscript C# bindings?
I've been thinking about possibly porting an internal custom GIS application built on top of Python / PyQt / Mapscript / GDAL-OGR / PostGis to C#.
I was wondering about the maturity of the C# ...
3
votes
2answers
413 views
Using shp2img and Remote Objects instead of WMS
I am a Flex developer that works with ESRI's REST Flex API most of the time, but have been exploring other options in the Flex world of web mapping. I have been using WebOrb's implementation of ...
3
votes
2answers
406 views
Trying to load this map service from ArcServer.. its on our own system but its not working… or I don't have access
Can anyone see this?
http://gis.co.frederick.va.us/ArcGIS/rest/services/TestSDEService/MapServer
Spatial reference is..
var initExtent = new esri.geometry.Extent({
"xmin": ...
1
vote
1answer
398 views
setting up php_mapscript in portable GIS
I'm new here, and I'm also new in webgis, I have download portable
gis, and I love this new version with lot more tools, I have a
question regarding to mapserver that comes with portable GIS v2, how
...
3
votes
2answers
337 views
Mapserver / Default to a GetCapabilities version if not set
We have some users with a legacy client that does not use the "version" parameter in the GetCapabilities request. However they cannot handle WMS 1.3.0 (and the CRS parameter) yet, which our ...
1
vote
2answers
534 views
Projected layer misaligned with Mapserver
I have a couple or raster files in epsg:23031 reference that i want to reproject to other reference systems (epsg:4326 and google projection) using the 'on the fly reprojection' of Mapserver.
No ...
2
votes
3answers
355 views
Is there a good guide out there for setting MapServer up on an existing windows apache server?
I have been interested in trying out MapServer and have no problem setting up a windows development box. Seems like all the MapServer implementations on Windows include Apache, php, mapserver, and a ...
1
vote
5answers
755 views
Hiding layers in mapfile (Mapserver) from WMS requests
We have a Mapserver mapfile used in a web app with a lot of layers. We want to publish only some of them with WMS, keeping the others hidden to any WMS request.
It has to be the same mapfile and we ...