[mapserver-users] roadlines issue

2009-10-21 Thread Raivo Alla
Hello, the problem I have right now with mapserver is how to display roads that must be displayed from different layers in a mapfile, but should have nice joining with each other. Problem is shown here (red arrows): http://picasaweb.google.com/snaperski/Ort#5394941894576868946 Desired situation wi

Re: [mapserver-users] TileCache 2.10 - MapServer 5.2

2009-10-21 Thread Maria Neywell
Hi Jukka, I don't have generated tiles. I simply want to get, for example, a WMS layer that* *uses tilecache when I need to display it. Regards, Maria 2009/10/20 Rahkonen Jukka > Hi, > > Could you explain bit more clear what do you want to do? Do I undestand > right that you have tileca

[mapserver-users] Any ways to increase performance of Mapserver?

2009-10-21 Thread Adrian Popa
Hello, sorry for this noobie question, but I have been running mapserver as a cgi process and sometimes I need to make lots of calls to it to get the data I want. I have used TileCache to get the layers I need and which don't change over time and it speeds things up considerably. I was wonderi

Re: [mapserver-users] Any ways to increase performance of Mapserver?

2009-10-21 Thread Pavel Iacovlev
Fast-cgi is one process that manages all your connections (acts more like apache module) cgi creates a new process for every connection so fast-cgi is faster and consumes less resources. The best performance you should get with tilecache serving TMS(If it's supported by your client, openlayers supp

Re: [mapserver-users] roadlines issue

2009-10-21 Thread Pavel Iacovlev
First if you have 2 layers for roads like highways.shp and secondary.shp (for example) if you make one shape roads.shp file with the a field "type" performance will actually improve. You can see a great example how to render street data (openstreetmap data in this case) here: http://trac.osgeo.org

[mapserver-users] problem maxscale - minscale

2009-10-21 Thread kalliany
Dear mapserver community! I have a (probably silly) problem showing layers in different scale regions. First of all (don't know why) I have to multiply the desired scale by 10 , that means Orthofotos are shown up to 1:1 when I do MAXSCALEDENOM 10. The same is true with shape file GROUP G

Re: [mapserver-users] Shapefiles with islands

2009-10-21 Thread Rahkonen Jukka
Hi, My comments: - Lakes in OSM data are in a very bad shape. Tagging habits and "multipolygon" relation thing do not work well at least with big lakes with islands. - Maybe because the tagging of lakes and islands is not standardized the data extracts, for example "waters" in Cloudmade shapefi

Re: [mapserver-users] TileCache 2.10 - MapServer 5.2

2009-10-21 Thread Rahkonen Jukka
Hi, I haven't used Tilecache yet, but I have understood that Mapserver does not need to know anything about Tilecache. Tilecache program is just a normal user for Mapserver and the same mapfile that works for normal WMS usage works also for Tilecache. Tilecache must be configured to find Mapser

Re: [mapserver-users] roadlines issue

2009-10-21 Thread Raivo Alla
Hey, thank You. I was thinking that pre-splitting large datasets would be a good optimization step as suggested here: http://mapserver.org/optimization/vector.html Have to try and compare ;) Raivo On Wed, Oct 21, 2009 at 11:45 AM, Pavel Iacovlev wrote: > First if you have 2 layers for roads li

Re: [mapserver-users] Any ways to increase performance of Mapserver?

2009-10-21 Thread Adrian Popa
Thanks, I'm compiling mapserver with fast-cgi support and see how that works out. Any idea if there is a difference in terms of speed if I make normal CGI queries vs WMS queries? Regards, Adrian Pavel Iacovlev wrote: Fast-cgi is one process that manages all your connections (acts more like

[mapserver-users] label encoding problem

2009-10-21 Thread 王连波
I use mapserver5.4.0 on FreeBSD Release7.1. In my mapfile I get data from postgis database whose encoding is EUC_CN, and my label part go as follows: labelitem name CLASS NAMExzqj_x STYLE color 255 255 255 END outlinecolor 0 0 0

Re: [mapserver-users] Any ways to increase performance of Mapserver?

2009-10-21 Thread Adrian Popa
Hello again, I've compiled mapserver with fast cgi support and I've installed fastcgi on my apache. All seems ok, but I'm not sure if mapserver runs as fastcgi! I followed the instructions from here: http://mapserver.org/optimization/fastcgi.html Here's what I've added in the configuration:

[mapserver-users] long expression statement doesn't work anymore

2009-10-21 Thread Rafael Szajbel
Hello, in an older MapServer version (4.10.0) it is possible to use a very long _expression_ or Filter statement. Like this one with over 1000 comma separated values:   _expression_ ('[NR]' IN 'ID1,ID2,.,ID1100') This works fine: With newer MapServer versions (whether c

Re: [mapserver-users] Any ways to increase performance of Mapserver?

2009-10-21 Thread Michael Shishcu
Hello, Adrian add to your apache config the folowing: ScriptAlias /fcgi-bin/ "path to your mapserver binary file" # The following line activates the fastCGI script to all files in location SetHandler fcgid-script ... regards, michael 2009/10/21 Adrian Popa > Hello again, > > I've

[mapserver-users] Mapinfo Tab Objects and Symbols

2009-10-21 Thread ibrahimsaricicek
Hi, I get the colors, mapinfo automatically using a font type, i've added to windows.. i can see on mapinfo but can't on mapserver.. Any comment about using these fonts with ANGLES..? thanks to all.. ibrahimsaricicek wrote: > > Hi all, > > I have a tab file including points and lines joint t

Re: [mapserver-users] roadlines issue

2009-10-21 Thread Pavel Iacovlev
Yes http://mapserver.org/optimization/vector.html this is described correctly but it's not your case because you are NOT filtering SOME of the data you just read ALL the data from 2 layers. I sort if you use ALL the data from that layer there is no point in splitting. On Wed, Oct 21, 2009 at 2:30

[mapserver-users] Text Delimiiters

2009-10-21 Thread Lee
Greetings, In an html form, the following line is being submitted; After the Mapserver returns the template, the source shows; input type="hidden" name="QSTRING" value="('[Summary_st]' EQ 'U')">   The string worked in Mapserver 4, but does not work with Mapserver 5.   Any help or ideas with t

Re: [mapserver-users] Mapserver CGI 5.4 crashed my app (Windows 2003)

2009-10-21 Thread Paul james
Tamas, the actual error generated is: HTTP Error 502.2 - Bad Gateway The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are "". Using Windos 7 (IIS 7) Testing on Windows 2003, I got just a Blank image (no error message)... You can

Re: SV: [mapserver-users] Shapefiles with islands

2009-10-21 Thread Steve Lime
I'm not using the OpenStreetMap data but am rendering and querying lots of complex lake polygons with multiple outer rings (basins) and inner rings (islands). You need not do anything special. Sounds like a data production problem more so than a MapServer bug. Here's a sample: http://maps.dnr.s

Re: [mapserver-users] long expression statement doesn't work anymore

2009-10-21 Thread Steve Lime
Any chance you could create a simple test case showing the problem? The fact it shows some features is puzzling. If it was just a matter of the expression getting truncated then you should see an expression parse error. Steve >>> Rafael Szajbel 10/21/2009 6:58 AM >>> Hello, in an older MapSer

Re: [mapserver-users] label encoding problem

2009-10-21 Thread Thomas Bonfort
"name" is a reserved keyword in mapserver mapfiles, you should use LABELITEM "NAME" instead of LABELITEM NAME regards, thomas www.camptocamp.com +33 5 16 57 01 02 On Wed, Oct 21, 2009 at 14:33, 王连波 wrote: > I use mapserver5.4.0 on FreeBSD Release7.1. In my mapfile I get data from > postgis d

[mapserver-users] layer extent

2009-10-21 Thread Sven Schroeter
Hi, I try to get the layerextent with php mapscript (mapserver 5.02 on Windows): $layer = $map->getLayerByName($qlayer); $extentobj = $layer->getExtent(); echo $extentobj->minx." ".$extentobj->miny." ".$extentobj->maxx." ".$extentobj->maxy; This works fine with shape-layers but not with postgi

[mapserver-users] Fwd: Need some ideas for mosaic'ing raster data that spans the dateline

2009-10-21 Thread Roger André
cross-posting to MapServer list. Roger -- Forwarded message -- From: Roger André Date: Mon, Oct 19, 2009 at 3:16 PM Subject: Need some ideas for mosaic'ing raster data that spans the dateline To: gdal-dev I need to create a colored raster that shows data intensity over Russia

Re: [mapserver-users] AGG renderer: Is there a way to disable the antialias feature with pattern brushes?

2009-10-21 Thread Tamas Szekeres
Håvard, I guess it wouldn't be so straighforward to have the renderers work on a common image format to provide this kind of co-operation. Currently the imageObj structure contains renderer specific information and those may use internal buffers to render the image. At the moment I would see 2 op

Re: [mapserver-users] Mapserver CGI 5.4 crashed my app (Windows 2003)

2009-10-21 Thread Tamas Szekeres
Paul, I've set up your data but it works for me: http://vbkto.dyndns.org/cgi-bin/mapserv.exe?mode=map&map=mssql2008.map tried with the following binaries: http://vbkto.dyndns.org/sdk/release-1500-gdal-1-6-mapserver-5-4.zip http://vbkto.dyndns.org/sdk/release-1500-gdal-mapserver.zip My mapfile:

Re: [mapserver-users] Print template and WMS

2009-10-21 Thread Steve Lime
And the WMS layer's name in question appears in the [layers] output? >>> On 10/7/2009 at 2:20 PM, in message <731ed3bb0910071220x4943b5beqc22f4516b86ee...@mail.gmail.com>, Ruby wrote: > Greetings, > > I employ a print function via javascript button in an HTML map template. The > print template

[mapserver-users] mapserver-5.6.0-beta4

2009-10-21 Thread Stephen Davies
FWIW, this package built and ran under Linux without issue with my applications. However, I did have to install the libcfitsio development package to get the compilation to complete. Most output format options were selected plus PROJ4, GEOS etc and PostGIS. Tests were with PostgreSQL 8.3.6 and

SV: SV: [mapserver-users] Shapefiles with islands

2009-10-21 Thread Lars Westerlind
Hello Steve, Thanks for your attention. I fully agree that there is nothing yet indicating a bug in mapserver. The shapefiles I've inspected just lack the inner polygons, which certainly are available when editing open street data at their site; Mapserver can't guess, can it? But if I got it

Re: [mapserver-users] roadlines issue

2009-10-21 Thread Raivo Alla
Thank you, a good point! However, this simplyfied example is for 3 layers, actually there is about 8 layers and some of them are showing up a little bit later (not in that scale range). So I guess the best would be to create separate shapes based on scale ranges, ie 1:5 to 1:24000 the map will