Dash | 15 Jul 18:30 2015
Picon

MapCache WMS request zoom level

Aloha folks,

we have created a tileset using mapcache.  Now we are trying to access an
image using wms, however, the zoom level is all wrong.  Is there a way to
specify zoom level as a parameters in the wms request?

thanks.

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/MapCache-WMS-request-zoom-level-tp5215766.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
_______________________________________________
mapserver-users mailing list
mapserver-users <at> lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Pablo Cecconi | 14 Jul 21:58 2015
Picon

Problem with SIZEUNITS on SLD

Hi, I'm using Mapserver SLD parameter to style layers using QGIS to generate SLD files. The problem I have is that QGIS only allows to define symbol size in either Milimeters or Map Units but Mapserver SIZEUNITS parameter on the layer doesn't support Milimeters as a valid unit (or at least this is not documented) so the symbols usually look too small. Am I doing something wrong? 

Thanks,
Pablo

_______________________________________________
mapserver-users mailing list
mapserver-users <at> lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
Pablo Cecconi | 14 Jul 20:46 2015
Picon

SLD for multiple layers

Hi all, 

I'm using Mapserver SLD parameter to apply styles to maps which contain a single layer through WMS requests. My question is whether it's possible to define styles for every layer in a map with multiple layers and apply them using a single SLD in the same way. In case this is not possible right now, are there any plans to support this feature in the future?

Thanks, 
Pablo
_______________________________________________
mapserver-users mailing list
mapserver-users <at> lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
Christy Nieman | 13 Jul 15:40 2015
Picon

label outline not changing when sizeunits meters

Hi all,

I filed a but about a month ago 
(https://github.com/mapserver/mapserver/issues/5107) about an issue that 
I started having with a mapfile where the outline on labels with 
SIZEUNITS METERS no longer seemed to be correct.  No matter what I set 
OUTLINEWIDTH to, the outline stays the same.

I would appreciate it if someone would let me know if I'm doing 
something wrong, or if there really is a bug there.

Thanks,
Christy
_______________________________________________
mapserver-users mailing list
mapserver-users <at> lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Stephen Woodbridge | 13 Jul 01:14 2015

Very strange problem doing a query and hanging on MS 6.4.1

Hi all,

I have run into a very strange problem doing a mapserver query. I'm 
upgrading a system that was running fine. The details are below. I also 
tried to put the template inside a CLASS ... END block that didn't help.

Can anyone else reproduce something like this?
Got any ideas on how to work around it?

Thanks,
   -Steve W

Old system:
Ubuntu 12.04 LTS

MapServer version 6.2.1 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG SUPPORTS=PROJ 
SUPPORTS=GD SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=CAIRO 
SUPPORTS=SVG_SYMBOLS SUPPORTS=ICONV SUPPORTS=FRIBIDI SUPPORTS=WMS_SERVER 
SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT 
SUPPORTS=WCS_SERVER SUPPORTS=SOS_SERVER SUPPORTS=FASTCGI 
SUPPORTS=THREADS SUPPORTS=GEOS INPUT=JPEG INPUT=POSTGIS INPUT=OGR 
INPUT=GDAL INPUT=SHAPEFILE

New system:
Ubuntu 14.04 LTS

MapServer version 6.4.1 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=KML 
SUPPORTS=PROJ SUPPORTS=GD SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=CAIRO 
SUPPORTS=SVG_SYMBOLS SUPPORTS=RSVG SUPPORTS=ICONV SUPPORTS=FRIBIDI 
SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER 
SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER SUPPORTS=SOS_SERVER 
SUPPORTS=FASTCGI SUPPORTS=THREADS SUPPORTS=GEOS INPUT=JPEG INPUT=POSTGIS 
INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE

The query layer looks like this:

LAYER
   NAME "model_query"
   STATUS on
   TYPE raster

   TILEINDEX "NOAA_Coastal_Relief_Model/index.shp"
   TILEITEM "LOCATION"
   TEMPLATE "/maps/wms/pixel.value.html"
END

cat "/maps/wms/pixel.value.html"
<!-- MapServer Template -->
[value_0]

dbf_dump -info wms/data/Bathy/NOAA_Coastal_Relief_Model/index.dbf
Filename:       wms/data/Bathy/NOAA_Coastal_Relief_Model/index.dbf
Version:        0x03 (ver. 3)
Num of records: 61
Header length:  65
Record length:  256
Last change:    1995/7/26
Num fields:     1
Field info:
Num     Name            Type    Len     Decimal
1.      LOCATION        C       255     0

dbf_dump  wms/data/Bathy/NOAA_Coastal_Relief_Model/index.dbf | head
NOAA_Coastal_Relief_Model/BSM-1035.tif
NOAA_Coastal_Relief_Model/BSM-1156.tif
NOAA_Coastal_Relief_Model/BSM-1193.tif
NOAA_Coastal_Relief_Model/BSM-1239.tif
NOAA_Coastal_Relief_Model/BSM-1261.tif
NOAA_Coastal_Relief_Model/BSM-1326.tif
NOAA_Coastal_Relief_Model/BSM-1343.tif
NOAA_Coastal_Relief_Model/BSM-1536.tif
NOAA_Coastal_Relief_Model/BSM-1557.tif
NOAA_Coastal_Relief_Model/BSM-1801.tif

ogrinfo -so wms/data/Bathy/NOAA_Coastal_Relief_Model/index.shp index
INFO: Open of `wms/data/Bathy/NOAA_Coastal_Relief_Model/index.shp'
       using driver `ESRI Shapefile' successful.

Layer name: index
Geometry: Polygon
Feature Count: 61
Extent: (-130.000417, 16.999583) - (-65.999599, 49.000401)
Layer SRS WKT:
(unknown)
location: String (255.0)

When I issue a query like:

/usr/lib/cgi-bin/mapserv 
QUERY_STRING='map=/maps/wms/bathymetry.map&mode=query&layers=model_query&mapxy=-100.98125+41.58125'

The old server responded with:
Content-Type: text/html

<HTML>
<HEAD><TITLE>MapServer Message</TITLE></HEAD>
<!-- MapServer version 6.2.1 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG 
SUPPORTS=PROJ SUPPORTS=GD SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=CAIRO 
SUPPORTS=SVG_SYMBOLS SUPPORTS=ICONV SUPPORTS=FRIBIDI SUPPORTS=WMS_SERVER 
SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT 
SUPPORTS=WCS_SERVER SUPPORTS=SOS_SERVER SUPPORTS=FASTCGI 
SUPPORTS=THREADS SUPPORTS=GEOS INPUT=JPEG INPUT=POSTGIS INPUT=OGR 
INPUT=GDAL INPUT=SHAPEFILE -->
<BODY BGCOLOR="#FFFFFF">
msQueryByPoint(): Search returned no results. No matching record(s) found.
</BODY></HTML>You have new mail in /var/mail/root

I get an infinite number of lines like the following on the new server:

# /usr/lib/cgi-bin/mapserv

QUERY_STRING='map=/maps/wms/bathymetry.map&mode=query&layers=model_query&mapxy=-100.98125+41.58125' 
| head
Content-Type: text/html

-99999
-99999
-99999
-99999
-99999
-99999
-99999
-99999
^C

You have to ^C to kill it, even when using head. This seems like a 
serious bug as it runs for about 10 mins taking 100% CPU. If you call it 
via file_get_contents() in php is hangs the request and freezea my OL 
app until it is killed or kills php reading all the data.
_______________________________________________
mapserver-users mailing list
mapserver-users <at> lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

MSc. Romanuel Ramon Antunez | 10 Jul 18:46 2015
Picon

parallel computing???

    Hi, I have a question... The last version of mapserver uses the 
possibilities of the hardware architecture for parallel processing?

--

-- 
MSc. Romanuel Ramón Antunez
Metodólogo Investigación y Postgrado
Centro de Estudios de Matemática Computacional
Profesor Asistente, Facultad 6
Universidad de las Ciencias Informáticas

_______________________________________________
mapserver-users mailing list
mapserver-users <at> lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Lime, Steve D (MNIT | 10 Jul 15:45 2015
Picon
Picon

Compiling Perl MapScript with custom module name using Cmake

What’s the easiest way to install a custom named version of MapScript (I’m interested in Perl) via Cmake? There are instructions in the mapscript/perl/README for changing the name but it’s unclear how to combine that with cmake builds as all the ingredients aren’t present.

 

Steve

_______________________________________________
mapserver-users mailing list
mapserver-users <at> lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
ankur chitranshi | 9 Jul 09:41 2015
Picon

map server (map script mode) zoom in and zoom out like google zooming

Dear All, 

 Kindly help me out, for improving my map server(map script ) Zoom In & Zoom Out , work as similar to google zooming ..

thanks in advance

--
thanks & regards
Ankur Chitranshi
_______________________________________________
mapserver-users mailing list
mapserver-users <at> lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
Vladimir | 9 Jul 09:17 2015
Picon

Where is a Mapserver v 6.4.1 documentation?

Hi all!

I've searched through the whole site mapserver.org, but can't find Mapserver/PHP MapScript v 6.4.1 documentation.

The page http://mapserver.org/download.html#docspreviousreleases doesn't contain 6.4.1 docs.

Where else should I look for?

Thanx

_______________________________________________
mapserver-users mailing list
mapserver-users <at> lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
sowmiya san | 9 Jul 08:26 2015
Picon

Hi sir please tell me how to insert my shapefile in mapserver


_______________________________________________
mapserver-users mailing list
mapserver-users <at> lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
devi ka | 9 Jul 08:18 2015
Picon

Re: hai sir, how to run mapserver and how to draw my shape files in mapserver...


_______________________________________________
mapserver-users mailing list
mapserver-users <at> lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Gmane