Skip to main content

Questions tagged [ms4w]

MapServer for Windows

Filter by
Sorted by
Tagged with
0 votes
0 answers
53 views

MS4W install issue

Windows 11 MS4W 4.0.5 When I installed from the standard download, I chose port 8091. After the install, two services appear: ApacheMS4WWebServer:port81 ApacheMS4WWebServer:port8091 Why are there ...
Simon Greener's user avatar
0 votes
0 answers
20 views

Downloading data from MapServer (MS4W)

Does anyone knows how to pull out the data from mapserver? I have installed it on my PC, but have no idea how to use it and pull out the data from one link. Link : http://www.catastrochaco.gov.ar/cgi-...
dimmey94ns's user avatar
1 vote
0 answers
255 views

Get rid of duplicate polygons using OpenLayers

OpenLayers 6, Mapserver 7 I have defined a vector source like this : const presc = new ol.source.Vector({ format: new ol.format.GeoJSON(), loader: function(extent, resolution, projection, success,...
Leehan's user avatar
  • 1,234
2 votes
0 answers
243 views

MapServer create multitemporal WMS with TIME enabled from raster in PostGIS

The goal in my current project is to create a WMS from a GeoTIFF raster layer that was previously uploaded to a PostgreSQL database with PostGIS enabled via "raster2pgsql". That worked out ...
Lore_Kni's user avatar
0 votes
1 answer
197 views

One of the multiple layers with different extents not visible in MapServer

I have 2 layers in the map file with different extents. In QGIS, I am able to see them one over the other in proper positions. However, when I am adding those 2 layers in the map file for MapServer (...
shanti's user avatar
  • 103
1 vote
0 answers
159 views

Problem seeding MapServer's MapCache from an ArcGIS WMS source

I have an ArcGIS Server acting as a WMS service for some data that I cannot serve any other way. The rest of our system uses either MapServer or MapCache (from the MS4W distribution) to serve our ...
Almaniac's user avatar
0 votes
1 answer
351 views

QGIS 3.24 (and 3.18) can't load WFS layer from MapServer (MS4W)

I have a MapServer (MS4W on Windows) setup with WFS in a mapfile. I cannot load WFS layers from this MapServer, they all return this warning in QGIS: WARNING Analysis of DescribeFeatureType ...
Almaniac's user avatar
2 votes
0 answers
64 views

MapServer / PostgreSQL don't display an ITEMQUERY

I try to search a string in MapServer with the method ITEMQUERY from a PostgreSQL table,. It look very simple but I receive the folow error: msPostGISLayerWhichShapes(): Query error. Error executing ...
roman villarreal's user avatar
0 votes
2 answers
62 views

MapScript : Output creation date

Is it possible to make an output of the creations date in a map script file (WMS). I have a WMS service for example like this: MAP NAME "Basel-01" STATUS ON #EXTENT -137 29 -53 88 ...
hpthaeler's user avatar
2 votes
1 answer
302 views

MapServer can't draw PostGIS table

I'm using MS4W 3.0.6 (MapServer CGI 6.0.3), PostgreSQL 13 with geospatial extension (PostGIS) and pmapper 4.3.2. I can display maps perfectly in MapServer and pmapper with shapefiles, but when I try ...
roman villarreal's user avatar
1 vote
2 answers
376 views

Combine different geometry types in single layer in MapServer- is it possible?

I'm trying to display features with different geometry types in single LAYER. MapServer version 7.0.1 (MS4W 3.1.4). The data source is MS SQL spatial database table with geometry column, containing ...
apdevelop's user avatar
  • 131
1 vote
1 answer
133 views

MapServer displays raster on top other layers

I have a problem. MapServer displays raster on top other layers. Is there any way to put raster beneath the map? MAP IMAGETYPE PNG EXTENT 466914.4981 5983965.6134 469588.2900 5986580....
Rasa's user avatar
  • 11
0 votes
1 answer
317 views

MapServer on Windows Server 2019 from MS4W [closed]

I have installed MapServer from MS4W on a Windows Server 2019 machine on port 8081 but it won't find the home page http://127.0.0.1:8081/ for some reason. 8081 is not in conflict and has been opened ...
Mikeoramma's user avatar
1 vote
1 answer
15k views

PHP: Call to undefined function pg_connect() with MS4W for PostgreSQL

I am trying to add dynamic interactions with my PostgreSQL 12 database to my web page with the PostGIS extension that I use with PgAdmin 4. I use an Apache web server that I installed with MS4W. For ...
Teyhryu's user avatar
  • 55
1 vote
1 answer
572 views

MapServer HTML Template doesn't display map/image

I'm using ms4w and working on my local machine and want to build a map like in the MapServer Example 1.9 (https://mapserver.org/tutorial/section1.html). Unfortunately the HTML template doens't ...
ki8Q7SFi7y's user avatar
0 votes
1 answer
146 views

MapServer *.map / WMS show only a part of the whole shape

I have a problem with a MapServer configuration: test.map // It's installed under: C:\MS4W\ms4w\apps\mapserver_wms. The content of the test.map is follwing: Map NAME "MAPSERVER_QUICKSTART" STATUS ...
Flyfsx Riehen's user avatar
0 votes
2 answers
436 views

Mapserver INCLUDE using multiple .map files

I am currently testing out a new way to display my Mapserver WMS's. Here is the context. I have a script that generates an individual .map file for each of my rasters. These mapfiles are fully ...
rossv49's user avatar
2 votes
0 answers
228 views

Tile problem when browser is zoomed in

I'm using mapcache/mapserver/openlayers 3 with ms4w. When my application is loaded with the browser at the normal 100% zoom level, everything returns fine (testing on chrome, firefox, and edge). The ...
Ken's user avatar
  • 21
0 votes
2 answers
821 views

How to make MapServer WMS URL shorter?

I got an Apache and MapServer bundle (MS4W). On MapServer I made a WMS service and connect it to clients (Leaflet, QGIS etc.) with an URL like this: http://localhost/cgi-bin/mapserv.exe?map=C:/ms4w/...
Kliver Max's user avatar
  • 2,032
2 votes
1 answer
809 views

SVG symbols in MapServer Ubuntu vs MS4W

I have set up a map file on Ubuntu 16.04 with SVG symbols created by Inkscape. Everything is fine. Now I have to port it to a windows server. I installed MS4W, but layers with SVG symbols can't be ...
Zoltan's user avatar
  • 7,335
0 votes
1 answer
250 views

Using svg symbols for styling elements in ms4w (mapserver)?

I have MapServer installed in a windows machine. I have imported into my PostGIS db osm data and want to style certain elements (nodes) with svg symbols. The problem is that the version of MapServer ...
dimitris lepipas's user avatar
1 vote
1 answer
201 views

Downloading and starting MapServer4Windows

I am new to web mapping and am trying to use MapServer For Windows. While I have found tutorials I have been unable to even install the program. I have updated to the most recent LTR version of QGIS ...
David Bates-Jefferys's user avatar
1 vote
1 answer
421 views

Installing PHP MapScript for MS4W

I have the following version on my machine. But the MapScript is not installing. Can any one help?
Rishabh's user avatar
  • 33
0 votes
1 answer
198 views

MapServer 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 ...
Satya Chandra's user avatar
3 votes
1 answer
647 views

how to pin point type layer details on map using ms4w map server

My aim is to create pin point on map and when click event on that pin point to show some details about that point (like shop name ,street name). My point shape file is for rendering on the map i ...
nickle's user avatar
  • 113
2 votes
0 answers
51 views

Generating a map from a shapefile using ms4w mapserver [duplicate]

I am trying to generate a map from a shapefie. Through some initial searching, I wrote the code below but I am getting just a white page. Below is my code: MAP # To enter comments into a mapfile ...
nickle's user avatar
  • 113
1 vote
1 answer
1k views

MapServer (MS4W) test page from shapefile shows only blank white square?

I am trying to create a test page with mapserver and shapefile. At the moment I just want to get the map shown on my test page. I have gotten the EXTENT coordinates by opening shapefiles with QGIS - I ...
afaf12's user avatar
  • 84
1 vote
1 answer
206 views

(ms4w) oracle spatilal problem of drawing compound polygon for Oracle 10g

When i draw a compound polygon SDO_GEOMETRY( 2003, -- two-dimensional polygon NULL, NULL, SDO_ELEM_INFO_ARRAY(1,1005,2, 1,2,1, 5,2,2), -- compound polygon SDO_ORDINATE_ARRAY(6,...
SieuTruc's user avatar
  • 111
2 votes
1 answer
532 views

How to use the Oracle Spatial functions inside ms4w MAPFILE DATA string?

How to use Oracle Spatial functions in the DATA queries of MapServer(ms4w 3.0.3)? I am getting the following error while trying to highlight selected features which lie inside a particular boundary : ...
Shiva's user avatar
  • 165
2 votes
2 answers
563 views

How to mention multiple projections in MapServer MAPFILE?

Is there a way to mention multiple projection systems / spatial reference systems in MapServer's (ms4w 3.0.3) MAPFILE? For example for Malaysia - GIS data could lie across three spatial references WGS ...
Shiva's user avatar
  • 165
1 vote
2 answers
513 views

How to display map in MapServer?

I haven't found any good explanation yet about how to display a map in MapServer (localhost). I have MS4W with p.mapper in my PC. I have created a base .map file, shape files and html file. Please ...
mrbandy's user avatar
  • 391
0 votes
2 answers
540 views

MS4W (MapServer 4 Windows) - version 3.0.3 Crashes JVM and Tomcat frequently. How to fix this?

I am using MS4W (MapServer 4 Windows with Java Mapscript) - v 3.0.3 for a GIS web application hosted over Tomcat 6.0.33 with Java jdk1.6.0_13 and PostgreSQL 9.1 with PostGIS 1.5.2 @ the database end. ...
Shiva's user avatar
  • 165
0 votes
2 answers
533 views

How to make PHP (in MS4W Apache) setting for MSSQL

I am new for MSSQL. I wanted to make php setting for MSSQL. What i mean by that is to avoid following error while trying to establish connection using PHP and MSSQL Fatal error: Call to undefined ...
Pari's user avatar
  • 610
1 vote
0 answers
133 views

Map Server 4 Windows problem

How do I display shape files with a google-like interface in a web application? I found a tutorial at http://spatialhorizons.com/2007/05/19/mapserver-1-10-minute-tutorial/ which uses an earlier ...
nanfromGT's user avatar
2 votes
2 answers
606 views

Looking for "big names" that use open source WMS (like geoserver / ms4w / qgis server) for presentation

I am looking for famous companies / "big names" (like army , goverments , city halls) that chose to use open source map servers and not paid solutions like Esri and such for a presentation I ...
2 votes
2 answers
2k views

MapServer throws "msQueryByPoint(): Search returned no results."

I have been trying to configure a QUERY using MapServer (through MS4W, on Windows). Below is the mapfile: MAP NAME "Fourth" UNITS dd ...
SNT's user avatar
  • 3,389
4 votes
1 answer
1k views

How to load my localhost (MapServer) on my website?

My localhost is http://localhost:8080/ and I am using MS4W 3.0.3 on this localhost for making the application as Hello world, single map, more than one layer map, and so on. Now my folder is ms4w in ...
Ganesh's user avatar
  • 41