Tag Info

New answers tagged

0

Perhaps try Mapserver Mapcache: http://mapserver.org/mapcache/index.html


1

The output you are seeing is a result of the DEBUG (scroll down a little) statement in the mapfile. Specifically, msLoadMap not incl. means that the time displayed on the same line after the colon is the time taken to process the request (i.e.: the time spent reading data from shapefiles, or databases, assembling symbology, rendering and then output), less ...


0

To read More on WMS Errors and other common errors follow the link below; http://mapserver.org/errors.html#msprocessprojection-no-such-file-or-directory (By the way, following this method worked for me) and http://mapserver.org/errors.html


1

Just see this official demo example http://openlayers.org/en/v3.0.0/examples/wms-image.html Some others WMS samples are available. You will just need to change ServerType to mapserver (link for reference) Edit for completing with solution Without proj4js, you can always use the recipe from this other official example Declare an object ol.proj.Projection ...


0

You need to activate getFeatureInfo service in mapserver. Then you can display your layer via WMS protocol in OpenLayers for example. And to finish you can add the WMSGetFeatureInfo control in OpenLayers. Look at the source code in this example : <script> OpenLayers.ProxyHost = "proxy.cgi?url="; var map, info; function load() { map = new ...


1

If security is not an issue but you only want to load data within the current viewport. You can also look at OpenLayers BBOX strategy.


0

for ubuntu users : open software center and search "python-mapscript" and install "python library for MapServer" and enjoy using "RT mapserver exporter".


1

I found the solution, it basically was to change this: -DCMAKE_LEGACY_CYGWIN_WIN32=1 to -DCMAKE_LEGACY_CYGWIN_WIN32=0 so, I used: cmake .. -DWITH_OGR=0 -DWITH_GDAL=0 -DWITH_WCS=0 -DWITH_WFS=0 -DCMAKE_LEGACY_CYGWIN_WIN32=0 and Mapserver compiled flawlessly.


0

I can suggest you those steps: Load your data inside QGIS and do a basic style for all the layers; Use the RT MapServer Exporter plugin to convert your project in a mapfile; Install Pmapper and use the mapfile for you webgis application As side note, you can use the shp2img command to check the mapfile syntax.


4

For example: let's say you have a 10 megabyte raster/vector file that covers a large area. If you include the file directly into OpenLayers, it will download the entire file to the browser and render whatever part of it the map needs even if it's a small area. What mapserver will do for you is always deliver to the browser a small image of exactly what ...


0

I eventually found the cause (and solution) to this problem, and wanted to share them in case someone ran into a similar situation. In my sql snippet included in my original post, you can see that I am attempting to filter out null geometries (N.SHAPE IS NOT NULL). Eventually I found that the table had geometries that were not truly null, but had no ...


4

EDIT: Update, having belatedly realized this is a Map Server question. In general, to get the convex hull, you will want to group by id/gid, as producing the hull(s) is an aggregate operation. So, without the Mapserver part, the query would look like: SELECT id, ST_ConvexHull(ST_Collect(the_geom)) as the_geom from xyz group by id; Now, to get MapServer ...


1

To investigate an error in a script file with psql, it may help to identify the first error by stopping the script on the first error with: \set ON_ERROR_STOP on This is off by default, which is why you might see repeated noise messages "ERROR: current transaction is aborted, commands ignored until end of transaction block" With an error like: ...



Top 50 recent answers are included