RE: [mapserver-users] hiow can i convert mapinfo workspace to mapserver mapfile?

2009-04-06 Thread meenu
hi friend i did this method and succeeded...i am facing one problem for allocating font and symbol set from mapinfo...in mapinfo i didnt findout any folder which is containing fonts.txt and shade.sym...how can i solve this problem? FONTSET ..\etc\fonts.txt SYMBOLSET ..\etc\shade.sym

RE: [mapserver-users] hiow can i convert mapinfo workspace to mapserver mapfile?

2009-04-06 Thread meenu
hi friend i did this method and succeeded...i am facing one problem for allocating font and symbol set from mapinfo...in mapinfo i didnt findout any folder which is containing fonts.txt and shade.sym...how can i solve this problem? FONTSET ..\etc\fonts.txt SYMBOLSET ..\etc\shade.sym

[mapserver-users] Query Unique Values in Mapfile?

2009-04-06 Thread Stefan Schwarzer
Hi there, is it possible to make mapserver directly detect the unique values in a field of the dbf table? I have twenty or more point and polygon shapefiles, each having a column with specific thematic data, such as the protected area category. But the content of these columns is

RE: [mapserver-users] hiow can i convert mapinfo workspace to mapserver mapfile?

2009-04-06 Thread Venkat Rao Tammineni
Hi FONTSET ..\etc\fonts.txt and SYMBOLSET ..\etc\shade.sym are file formats that you need write in separate. Go through the mapserver url check symbols and fonts .you will get good from there only. Thanks Venkat. -Original Message- From: mapserver-users-boun...@lists.osgeo.org

Re:[mapserver-users] visibility of the layer based on zoom extends

2009-04-06 Thread enri
Hi, I suggest you use MSCompanion to edit your mapfile, it's easy to understand how to control layers and their properties. Enri. 在2009-04-05,meenu meenu.m...@gmail.com 写道: hi can anybody help to set the visibility of a layer based on zoom extends..the mapscript for the particular layer i

[mapserver-users] Layer Object Parameter Substitution from URL using GIS

2009-04-06 Thread Heiko Schröter
Hello, when passing a 'FILTER' parameter to be changed with the URL to use GIS requests, mapserv(5.0.3) fails with: loadLayer(): Unknown identifier. Parsing error near (FILTER):(line 1) The call is: http://localhost/cgi-bin/mapserv?MAP=/MapServer/country98/heiko1.map;

[mapserver-users] displaying LINESTRING elements from shapefiles

2009-04-06 Thread Adrian Popa
Hello everybody, I'm trying to display a map generated from openstreetmaps and saved as several shapefile layers. The map was obtained from: http://download.geofabrik.de/osm/europe/ The shapefile roads.shp has a data type of LINESTRING: [r...@alarms romania-osm-shp]# ogrinfo -al roads.shp |

Re: [mapserver-users] displaying LINESTRING elements from shapefiles

2009-04-06 Thread Rahkonen Jukka
Hi, This layer shows OSM roads for me from the same shapefiles that you are trying to use. LAYER NAME OSM_roads STATUS ON DATA d:\Data\OSM\roads TYPE LINE UNITS METERS METADATA wms_titleOSM_tiet END CLASS NAME

Re: [mapserver-users] When or if OGR can support ESRI file geodatabase?

2009-04-06 Thread Tamas Szekeres
George, Did you mean ESRI Personal GeoDatabase? Refer to http://www.gdal.org/ogr/drv_pgeo.html in this topic. Best regards, Tamas 2009/4/6 McCown, George george.mcc...@jjg.com Hey All! Does anyone have the scoop on whether OGR will be supporting ESRI file geodatabase’s? *George

RE: [mapserver-users] When or if OGR can support ESRI file geodatabase?

2009-04-06 Thread Fawcett, David
Doubtful. I am guessing that he is referring to their newer file geodatabase. http://webhelp.esri.com/arcgisdesktop/9.3/index.cfm?TopicName=Types_of_g eodatabases The format is proprietary, but ESRI keeps saying that their intention is to open it. The latest info from them is that it will be

Re: [mapserver-users] setFilter problem (c#)

2009-04-06 Thread Paul james
Hi Tamas! It´s a Postgis layer...And the extent is fine... Any ideia? Thanks On Sat, Apr 4, 2009 at 3:52 PM, Tamas Szekeres szeker...@gmail.com wrote: Paul, Which data source are you using? It highly depends on the type of the data source how the filter is interpreted by mapserver. Are you

[mapserver-users] PHP mapscript and getResult()

2009-04-06 Thread Worth Lutz
There is a SWIG mapscript reference to a layerObj method getResults() returning a resultCacheObj. The resultCacheObj has an attribute bounds which is the extent of the results. Is this available in PHP mapscript. It seems to be missing. Worth ___

[mapserver-users] [announce] Mapfish Studio: online mapfile editor

2009-04-06 Thread Thomas Bonfort
Hi all, CampToCamp is proud to announce the beta release of the Mapfile Editor of Mapfish Studio. You can demo it here http://dev.mapfish.org/studio/demo after having registered on the site (a username and password will suffice), and/or view a screencast of some of the functionality here

Re: [mapserver-users] setFilter problem (c#)

2009-04-06 Thread Paul james
Thanks Tamas... I found the problem... The correct filter to postgis is : (gid='10') On Mon, Apr 6, 2009 at 12:11 PM, Tamas Szekeres szeker...@gmail.com wrote: Then the filter is passed directly to the database in the SQL WHERE clause. You might want to enable logging the SQL statements at

[mapserver-users] GIF format from legend mode

2009-04-06 Thread Alexander Petkov
How can I get the legend graphic of a layer in gif format (rather than PNG) using legend mode? WMS getLegendGraphic seems to do the trick with format=image/gif and I am wondering if I can achieve the same in legend mode. I tried with FORMAT=image/gif, as well as a few other variation, but the

Re: [mapserver-users] PHP mapscript and getResult()

2009-04-06 Thread Yewondwossen Assefa
Worth Lutz wrote: There is a SWIG mapscript reference to a layerObj method getResults() returning a resultCacheObj. The resultCacheObj has an attribute bounds which is the extent of the results. Is this available in PHP mapscript. It seems to be missing. It is missing in php mapscript.

Re: [mapserver-users] Layer Object Parameter Substitution from URLusing GIS

2009-04-06 Thread Steve Lime
You'll need to use 5.4 to get this functionality. That version add support to allow you to define validation strings to lock down what values can be passed for the variable. Another solution is to consider using runtime substitution to do something similar. That works well if the SQL is pretty

[mapserver-users] getExtent(c#) with Postgis data ...

2009-04-06 Thread Paul james
Hello, It seems that getExtent (c#) is not implemented... Any other solution to get extent of a layer using mapscript? Paul ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users

Re: [mapserver-users] getExtent(c#) with Postgis data ...

2009-04-06 Thread Tamas Szekeres
Why don't? That function have already been exposed for *layerObj* with the following signature: *public rectObj getExtent(void)* Best regards, Tamas 2009/4/6 Paul james paulj...@gmail.com Hello, It seems that getExtent (c#) is not implemented... Any other solution to get extent of a layer

Re: [mapserver-users] getExtent(c#) with Postgis data ...

2009-04-06 Thread Paul james
All value from getExtent (Postgis layer) is : 3.4028234663852886E+38 Is it a bug? On Mon, Apr 6, 2009 at 5:56 PM, Tamas Szekeres szeker...@gmail.com wrote: Why don't? That function have already been exposed for *layerObj* with the following signature: *public rectObj getExtent(void)*

Re: [mapserver-users] getExtent(c#) with Postgis data ...

2009-04-06 Thread Tamas Szekeres
Paul, Unfortunately this function is not implemented by the MapServer postgis driver, you might want to use the OGR C# API (ie. ogr_csharp.dll) for this purpose. Best regards, Tamas 2009/4/6 Paul james paulj...@gmail.com All value from getExtent (Postgis layer) is : 3.4028234663852886E+38

Re: [mapserver-users] getExtent(c#) with Postgis data ...

2009-04-06 Thread Paul james
Where can I find ogr_csharp.dll ? Thanks Tamas! Paul On Mon, Apr 6, 2009 at 6:22 PM, Tamas Szekeres szeker...@gmail.com wrote: Paul, Unfortunately this function is not implemented by the MapServer postgis driver, you might want to use the OGR C# API (ie. ogr_csharp.dll) for this purpose.

Re: [mapserver-users] Query Unique Values in Mapfile?

2009-04-06 Thread Tamas Szekeres
I'm not aware of any support for this in MapServer, however by using MapScript you could create script to iterate the features and add new classes to a layer on each unique combination. Then you could save the mapfile for further editing if required. Best regards, Tamas 2009/4/6 Stefan

Re: [mapserver-users] label display stops abruptly

2009-04-06 Thread new2ms4w
Hello, I've tried out both the options suggested above and none of them work. If I use OpenLayers.Layer.MapServer.Untiled, then this problem doesn't occur. But ofcourse, I want to have the cool tiling effect. I'm using Mapserver 5.2.1 with OpenLayers. My data consists of only linear

Re: [mapserver-users] displaying LINESTRING elements from shapefiles

2009-04-06 Thread Adrian Popa
Hello, Thanks for the example - I will look into it. Cheers, Adrian Rahkonen Jukka wrote: Hi, This layer shows OSM roads for me from the same shapefiles that you are trying to use. LAYER NAME OSM_roads STATUS ON DATA d:\Data\OSM\roads TYPE LINE