[mapserver-users] OGR connection failure

2009-03-05 Thread Juni Adi
Hi all, I've just installed mapserver with php_mapscript enabled on my centos5 : mapserver-5.2.1 gdal-1.6.0 (configured with mysql) mysql 5.0.45 PHP 5.2.6 I've been trying to connect to mysql virtual data using mapscript (gmap) and failed with following error: [MapServer Error]: msOGRFileOpen()

[mapserver-users] MapServer 5.4 Beta 3 is now available...

2009-03-05 Thread Steve Lime
Greetings all: MapServer 5.4 Beta 3 is now available for download at http://mapserver.org/download. A small number of bugs uncovered during testing of the second beta have been fixed. The next release should be a release candidate and will be available mid-next week. As always any help in testi

Re: [mapserver-users] Vista + map script question

2009-03-05 Thread Tamas Szekeres
2009/3/6 Murty Maganti > > Just a quick one. How can I compile only the mapscript_csharp assembly. Is > there any VS project file available. > > Hi, Just download the most sufficient -dev package ( http://vbkto.dyndns.org:1280/sdk/index.html) for your compiler version and issue: nmake ms nmake

Re: [mapserver-users] use SLD to dynamic label switching

2009-03-05 Thread Yewondwossen Assefa
Balázs, I think what you need to do is have your 2 symbolizers inside the same Rule. This should display your polygons with labels. Something like this: http://att-it.homelinux.net:22080/cgi-bin/spatial?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&LAYERS=szerkesztheto,csakolv,pont&STYLES=&SRS=e

RE: [mapserver-users] Vista + map script question

2009-03-05 Thread Murty Maganti
Hi I took from ms4w binaries (version 2.2.7). I can try latest from URL below. Just a quick one. How can I compile only the mapscript_csharp assembly. Is there any VS project file available. Thanks Murty From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@

Re: [mapserver-users] Vista + map script question

2009-03-05 Thread Tamas Szekeres
Where did you obtain the binaries? You could also grab any of my latest builds available at: http://vbkto.dyndns.org:1280/sdk/index.html Best regards, Tamas 2009/3/5 Murty Maganti > Hi > > > > Running my (desktop) application on some of the Vista or windows 2008 > machines, gdla15.dll is

Re: [mapserver-users] 500 Internal Server Error

2009-03-05 Thread Steve Lime
Who installed MapServer then? Depending how it was compiled the cgi executable may be looking for loadable libraries (.so or .dll). That's one of the only ways you'll get a 500 error without trying to do something. On linux you often need to set an environment variable within apache's config, somet

Re: [mapserver-users] Vista + map script question

2009-03-05 Thread Alan Boudreault
This is a DLL from MS. I never experienced this issue...(i'm on unix) but i think you can fix this error easily just by downloading the DLL and placing it in the right directory. What is GPSVC.DLL: http://www.processlibrary.com/directory/files/gpsvc/ Solution: http://forums.guru3d.com/showthrea

[mapserver-users] Vista + map script question

2009-03-05 Thread Murty Maganti
Hi Running my (desktop) application on some of the Vista or windows 2008 machines, gdla15.dll is not getting loaded. When I run dependency walker on gdal15.dll, it reports one of its dependency, GPSVC.dll, is not found. Did anyone encounter similar issue and if so, what is the resolution. Work

Re: [mapserver-users] 500 Internal Server Error

2009-03-05 Thread Rui Gomes
" Rui, what platform etc.. are you on?" That is my problem...i try to use a free web host to make a simple demo of my work. The server is linux, use apache and permit CGI. Because i try to build a hello map whithout render any image, i don´t expect problem whith the libraries so soon. And i have

Re: [mapserver-users] Projection or Data Problem?

2009-03-05 Thread Moen, Paul T.
I found the solution. http://www.mapserver.org/faq.html#why-does-my-requested-wms-layer-not-align-correctly Adding reaspect=false to the connection string fixed the problem. LAYER GROUP "Political Boundaries" NAME "US Forest Service Regions" TYPE RASTER PROJECTION

[mapserver-users] Problems mapping regions that span Dateline

2009-03-05 Thread Roger André
Hi All, I'm having some problems mapping some regions of the world that span the Dateline. I have several examples of this, but using one, the UN subregion defined as being "South Pacific", as an example illustrates the problem nicely. This region has the following extents: Corner Coordinates:

Re: [mapserver-users] Projection or Data Problem?

2009-03-05 Thread Moen, Paul T.
If I get what you are saying, I should set up another Mapserver as a WMS server that accesses the WMS from BLM, then, connect to my WMS server with the original mapfile? Doesn¹t Mapserver already take the temporary image from the WMS that was delivered in epsg:4326 and reproject it to my mapfiles

Re: [mapserver-users] Projection or Data Problem?

2009-03-05 Thread Gregor at HostGIS
Moen, Paul T. wrote: Can anyone get this WMS layer to reproject to a projected coordinate system like epsg:2266? Add to your WEB block, this. You can then make requests to your mapfile-as-WMS in the given SRS. METADATA "wms_srs" "EPSG:2266" END This does mean fetching the raster from the

[mapserver-users] Projection or Data Problem?

2009-03-05 Thread Moen, Paul T.
Can anyone get this WMS layer to reproject to a projected coordinate system like epsg:2266? I found this service at. http://www.geocommunicator.gov/blmMap/Map.jsp?MAP=Energy http://206.16.47.174/wmsconnector/com.esri.wms.Esrimap/BLM_SURFACE_MGT_AGY?version=1.1.1&service=WMS&request=GetCapabilitie

RE: [mapserver-users] Newbie - installed Mapserver - where next?

2009-03-05 Thread Fawcett, David
Asle, You have laid out a good list of tools. What is the problem that you are trying to solve? The answer to your 'what next' really depends on what you are trying to do. David. -Original Message- From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-

[mapserver-users] Newbie - installed Mapserver - where next?

2009-03-05 Thread Asle Benoni
Hi, I am a newbie and have installed Mapserver 5.2.1 on OS X Server 10.5. I have been able to display maps that I exported from QGIS and though some problems are displaying the maps. Now the next step is to get a framework around the maps and I have tried MapScript but I don´t have PHP

[mapserver-users] java-mapscript-zoomrectangle problem

2009-03-05 Thread Ahmet Temiz
hello I am using java-mapscript. Upon using zoomrectangle, I encounter an exception. I followed this procedure: ~~ rectObj imgrect =new rectObj( // to guarantee minx and miny (minxx= miny ~~ Although I had checked maxy >= miny condition I don't understand

Re: [mapserver-users] ka-map problem

2009-03-05 Thread Medve Zsolt
yes i download this one from that link. and follow the "prepare ka-map" wiki steps and the problem is still there? any idea? thanks bye Jeff McKenna írta: Medve Zsolt wrote: Hy all! I have a problem with ka-map. I configured written as on these pages. http://ka-map.ominiverdi.org/wiki/inde

Re: [mapserver-users] ka-map problem

2009-03-05 Thread Jeff McKenna
Medve Zsolt wrote: Hy all! I have a problem with ka-map. I configured written as on these pages. http://ka-map.ominiverdi.org/wiki/index.php/Preparing_ka-Map http://www.xml.com/pub/a/2005/08/10/ka-map.html I do everything a think.. I use ms4w with apache, and when i go to localhost/kamap, the

Re: [mapserver-users] 500 Internal Server Error

2009-03-05 Thread Steve Lime
Rui, what platform etc.. are you on? >>> Rui Gomes 03/05/09 9:20 AM >>> " Are you able to get into a shell?" I do not think i can do that (or know how do that). Thanks anyway 2009/3/5 Gregor at HostGIS : >> And a few more question: what libraries i need to put in the server? >> Where i can f

[mapserver-users] ka-map problem

2009-03-05 Thread Medve Zsolt
Hy all! I have a problem with ka-map. I configured written as on these pages. http://ka-map.ominiverdi.org/wiki/index.php/Preparing_ka-Map http://www.xml.com/pub/a/2005/08/10/ka-map.html I do everything a think.. I use ms4w with apache, and when i go to localhost/kamap, the ka-map frame appear

[mapserver-users] use SLD to dynamic label switching

2009-03-05 Thread Balázs Bámer
Hi All, I have a WMS service http://att-it.homelinux.net:22080/cgi-bin/spatial?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&LAYERS=szerkesztheto,csakolv,pont&STYLES=&SRS=epsg:23700&BBOX=42,4,95,37&WIDTH=938&HEIGHT=591&FORMAT=image/png&SLD=http://att-it.homelinux.net:22080/sld/spatials

Re: [mapserver-users] AGG FORMATOPTION "PALETTE_FORCE=TRUE" - transparent background

2009-03-05 Thread Ivan Mincik
On Thursday 05 March 2009, you wrote: > for this to work, you'll *have* to compile mapserver with > "--with-experimental-png". > (i.e. mapserv -v should ouput SUPPORTS=RGBA_PNG) I confirm, that after recompiling with "--with-experimental-png" 8bit transparency is working. Thank You Thomas. > > o

Re: [mapserver-users] 500 Internal Server Error

2009-03-05 Thread Rui Gomes
" Are you able to get into a shell?" I do not think i can do that (or know how do that). Thanks anyway 2009/3/5 Gregor at HostGIS : >> And a few more question: what libraries i need to put in the server? >> Where i can find some documentation about the libraries mapserver >> need? > > A techni

Re: [mapserver-users] get connectiontyp via mapscript

2009-03-05 Thread Yewondwossen Assefa
http://mapserver.org/mapscript/php/index.html (check Connection Types). When using mapscript you should do your tests using the defined constants (MS_SHAPEFILE, MS_POSTGIS ...). Note that the php defined constants reflect what is defined in mapserver.h (MS_CONNECTION_TYPE enumeration) Best

Re: [mapserver-users] 'errno: 2' on projection

2009-03-05 Thread julian andres montes galvis
try add CONFIG "PROJ_LIB" "/usr/share/proj/" kapilmanoj wrote: Hello wendall, I too facing the same problem. have you got solution for this problem? could you please help me out? Thanks, kapilmanoj Wendell Turner wrote: On Mon, May 19, 2008 at 03:32:16PM -0700, Wendell Turner wrote:

RE: [mapserver-users] Encoding issues

2009-03-05 Thread Murty Maganti
Thanks. I will try out that. From: Tamas Szekeres [mailto:szeker...@gmail.com] Sent: Wednesday, March 04, 2009 5:25 PM To: Murty Maganti Cc: mapserver-users@lists.osgeo.org Subject: Re: [mapserver-users] Encoding issues Hi, I don't know much about the hindi character sets. I guess you cou

[mapserver-users] get connectiontyp via mapscript

2009-03-05 Thread Sven Schroeter
Hi all, I try to get the connectiontyp via mapscript, this works: $layer = $map->getLayerByName($qlayer); $contyp = $layer->connectiontype; I get back a "1" for shapefiles and a "6" for Postgis-layers. Where can I find the other types? Thanks Sven

Re: [mapserver-users] AGG FORMATOPTION "PALETTE_FORCE=TRUE" - transparent background

2009-03-05 Thread thomas bonfort
for this to work, you'll *have* to compile mapserver with "--with-experimental-png". (i.e. mapserv -v should ouput SUPPORTS=RGBA_PNG) once this is done, you should supply a palette file with rgba quadruplets. In your example, your palette entries are incorrect: 0,0,0 is a triplet instead of a qu

Re: [mapserver-users] JAVA Mapscript LayerObj issues

2009-03-05 Thread julien
Hi again, Thanks for the help, I think I am close to the solution but it is still not working as I get the following error : java.lang.UnknownError: msGetBitmapFont(): GD library error. Invalid bitmap font. Must be one of tiny, small, medium, large or giant. edu.umn.gis.mapscript.maps

[mapserver-users] AGG FORMATOPTION "PALETTE_FORCE=TRUE" - transparent background

2009-03-05 Thread Ivan Mincik
I am not sure if is it possible to reduce AGG PNG image to 8bit by "PALETTE_FORCE=TRUE" option and keep transparent background. I went through all posts about this issue and it is not clear for me if I still need to compile mapserver with "--with-experimental-png" switch or it is currently not p

[mapserver-users] msProcessProjection(): Projection library error. no system list, errno: 2

2009-03-05 Thread kmanoj-pg7 kmanoj-pg7
Dear users, I am using fedora 9 with mapserver 5.0.3 , i installed mapserver by using YUM install command through command prompt. Now I am trying to use the 'projection' tag in a map file, but it is not working. I installed proj-4.6.0 also as like the above same way. However, when using the 'proje