SV: [MAPSERVER-USERS] image in an output

James Lindstorff jlf at eniro.dk
Mon Mar 24 08:41:24 EDT 2008


If you look at

 http://mapserver.gis.umn.edu/docs/faq/copyright-layer

You should be able to use the SYMBOL keywork of the CLASS definition to insert your compass.

One problem though, if your images are not of a known size you can't relablily place labels or symbols except in the upper left corner of the image.

/james

-----Oprindelig meddelelse-----
Fra: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] På vegne af Kristian Thy
Sendt: 23. marts 2008 23:21
Til: mapserver-users at lists.osgeo.org
Emne: Re: [MAPSERVER-USERS] image in an output

On Sat, Mar 22, nickthegreek- wrote:
> fist in my output i try to insert in mapfile a image so as to display 
> a compass.. what i do is to try to put in mapfile a layer which shows 
> only this image, the compass... i haven't tried that up now..any help 
> would be great (what exactly to write in the layer)!!!

http://mapserver.gis.umn.edu/docs/faq/copyright-layer
http://mapserver.gis.umn.edu/docs/reference/mapfile/feature

However, you can't use a picture for that as far as I know ... but if you could make/find a font with a compass glyph, you should be able to insert that.

> and secondly ..i wanna a big help in how to insert my shapefiles in a 
> database.. the postgis does that? what i should know is if i should 
> put shp shx and dbf files in tables in postgis??

To load shapefiles into PostGIS you use the shp2pgsql utility distributed with PostGIS:

http://postgis.refractions.net/docs/ch04.html#id2670802

\\kristian
--
... et nemo ex vobis interrogat me: »Quo vadis?« _______________________________________________
mapserver-users mailing list
mapserver-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


More information about the mapserver-users mailing list