[mapserver-users] Symbol is displayed in Map but not in legend in Mapserver 7

2015-04-27 Thread Thekla Wirkus

Hello,

I'm testing Mapserver7. Everything is OK, but I have problems with 
symbols in the legend.
The mapserver-symbols and png-Symnbols are displayed in the Map but not 
in the legend, see below.

IF I use a KEYIMAGE, the legend is displayed.

SIZEUNITS meters

CLASS
NAME Eingriff
STYLE
SYMBOL 'circle'
COLOR 255 20 0
SIZE 12
MINSIZE 8
MAXSIZE 16
OUTLINECOLOR 0 0 0
WIDTH 1
MINWIDTH 1
MAXWIDTH 1
END
LABEL
TYPE TRUETYPE
#COLOR 0 255 55
COLOR 255 0 0
OUTLINECOLOR 254 254 254
FONT Arial
POSITION uc
PARTIALS FALSE
FORCE TRUE
MINDISTANCE -1
SIZE 9
MINSIZE 8
MAXSIZE 12
END
END

Do I have to define a keyimage?

Best regards
Thekla Wirkus

--
-

Thekla Wirkus
-GIS-Consultant-


---
Aufwind durch Wissen!
Qualifizierte OpenSource-Schulungen
bei der www.foss-academy.eu
---

WhereGroup GmbH  Co. KG
Eifelstraße 7
53119 Bonn
Germany

Fon: +49 (0)228 / 90 90 38 - 34
Fax: +49 (0)228 / 90 90 38 - 11

thekla.wir...@wheregroup.com
www.wheregroup.com
Amtsgericht Bonn, HRA 6788
---
Komplementärin:
WhereGroup Verwaltungs GmbH
vertreten durch:
Olaf Knopp, Peter Stamm
---




___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

[mapserver-users] RE MapServer on centos 7

2015-04-27 Thread Steve . Toutant
you can compile mapserver on centos, I did for centos 6.5
http://mapserver.org/installation/unix.html#compilin

You will need to install the -devel version of some packages...such as 
gdal, postgres, .




luca paganotti luca.pagano...@gmail.com@lists.osgeo.org 
Envoyé par : mapserver-users-boun...@lists.osgeo.org
2015-04-26 10:07

A
mapserver-users@lists.osgeo.org
cc

Objet
[mapserver-users] MapServer on centos 7









Hi all, I'm in the need of installing mapserver and pmapper on a centos 7 
box. I googled for a suitable repo, but the only one I was able to find 
was on elgis and is stucked at centos 6. Is there anybody who knows about 
a centos 7 one?

I also searched for building instructions but none of what I've found is 
targeted to centos 7. Can someone, please, direct me to right source of 
info?

I'm not so willing to downgrade to centos 6.

Thank you for any answer.___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Re: [mapserver-users] KML Multigeometry

2015-04-27 Thread Schylberg Lars
The linestrings and point are inside a geometrycollection.
There is no FID that You can use to make the selection.

I would suggest that You experiment with ogrinfo first to see that You can 
extract what You want.

I guess that You have to make a more advanced sql query to break the 
geometrycollection appart into the two linestrings and the point feature.
You can do that both with regular ogr sql or sqlite syntax in ogr.

/Lars


From: mapserver-users-boun...@lists.osgeo.org 
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of alok mathur
Sent: den 24 april 2015 17:57
To: mapserver-users@lists.osgeo.org
Subject: [mapserver-users] KML Multigeometry

Hi,

Need help!!  I have a kml with multigeometry placemark in it as shown below. 
Also I have create a map file corresponding to this kml as shown.
I am unable to view the data on map, there is no error coming. Please let me 
know what wrong i am doing.

MAP
-

LAYER
GROUP default
NAME layer0
DATA SELECT * FROM 'TestFolder' WHERE FID=0 AND OGR_GEOMETRY='LINESTRING'
METADATA
wms_title Layer_0
gml_geometries geom
gml_include_items all
wms_include_items all
wms_feature_info_mime_type text/plain
gml_geom_type line
END
STATUS DEFAULT
TEMPLATE queryable
TYPE LINE
CONNECTIONTYPE OGR
CONNECTION test.kml
CLASS
NAME class
STYLE
WIDTH 10
COLOR 0 0 255
END #style end
END #class end
END #layerend
END

KML
--
?xml version=1.0 encoding=UTF-8?
kml xmlns=http://www.opengis.net/kml/2.2; 
xmlns:gx=http://www.google.com/kml/ext/2.2; 
xmlns:kml=http://www.opengis.net/kml/2.2; 
xmlns:atom=http://www.w3.org/2005/Atom;

Document
Folder
 nameTestFolder/name
Placemark
  nameSF Marina Harbor Master/name
  visibility0/visibility
  MultiGeometry
LineString
  !-- north wall --
  coordinates
  -71.460218,42.901764,1 -71.460193,42.901815,1 -71.460095,42.902058,1 
-71.460027,42.902381,1 -71.460009,42.902723,1 
-71.460016,42.903507,1 -71.459988,42.904164,1 
-71.459951,42.904524,1 -71.4598540001,42.905083,1 
-71.459458,42.906672,1 -71.459121,42.907851,1 -71.4588410001,42.908847,1 
-71.4587630001,42.909122,1
  /coordinates
/LineString
LineString
  !-- south wall --
  coordinates
-122.4425509770566,37.80662588061205,0
-122.4428340530617,37.8065999493009,0
  /coordinates
/LineString
Point
coordinates-122.4428340530617,37.8065999493009,0/coordinates
/Point
  /MultiGeometry
/Placemark
/Folder
/Document
/kml



Thanks!

--

Alok Mathur
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Re: [mapserver-users] Legend difference in 5.6.1 and 6.4.1

2015-04-27 Thread mapserver

Steve et. al.,
this legend issue is a major showstopper and makes GetLegendGraphic quite 
useless if you need utf-8 characters with truetype.


Is there any solution for this?

Best regards - Markus

Am 23.04.2015 um 09:45 schrieb mapserver:

I am migrating my mapserver application from 5.6.1 to 6.4.1 and have observed a
difference in the created legend images, i.e. truncating of class names - which
makes the legend image unusable in the end

The legend definition on both platforms is as such:

LEGEND
 KEYSIZE 22 12
 LABEL
   TYPE TRUETYPE
   FONT arial
   SIZE 8
   COLOR 0 0 0
   WRAP @
 END
 STATUS ON
END # legend

Mapfile: Umlauts in html-encoding like
CLASS NAME Ouml;ffentlicher Trauml;ger

I have to use a truetype font, otherwise I can't render the German umlauts.

mapserver 5.6.1 gives this result:

http://maps.muenchen.de/wms-2/rgu/behindertenheime?version=1.1.1service=WMSrequest=GetLegendGraphiclayer=l0format=image/pngSTYLE=default

and mapserver 6.4.1 gives this one:

http://kronos.muenchen.de/wms/rgu/behindertenheime?version=1.1.1service=WMSrequest=GetLegendGraphiclayer=l0format=image/pngSTYLE=default

Have I missed something in the migration guide? Or are there parameter available
to increase the legend size?

Best regards - Markus
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users