[mapserver-users] Projection of shape objects in MapScript

2008-08-06 Thread Mike Leahy
Hello, I have what I hope is an easy question: when I extract shapes from query results in PHP MapScript, what projection would the shape be in? The map object usually has its own projection defined, as can the layer object...and then there's the data source itself (presumably the same as th

[mapserver-users] Topo Maps

2008-08-06 Thread Stephen Woodbridge
Hi all, Sorry for the cross posting, but this was new to me and I thought other here might be interested. http://www.kk.org/cooltools/archives/002970.php Enjoy, -Steve W ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists

Re: [mapserver-users] Horizontal line appears at the edge with circle symbol

2008-08-06 Thread Stephen Woodbridge
This is a know bug. I think it is: http://trac.osgeo.org/mapserver/ticket/1719 -Steve W Ei Fujioka wrote: Dear experts, I'm upgrading Mapserver from 4.2 to 5.2 and experiencing a very annoying problem. There appears a horizontal line at the edge of the map drawn by Mapserver 5.2 when the

[mapserver-users] Horizontal line appears at the edge with circle symbol

2008-08-06 Thread Ei Fujioka
Dear experts, I'm upgrading Mapserver from 4.2 to 5.2 and experiencing a very annoying problem. There appears a horizontal line at the edge of the map drawn by Mapserver 5.2 when the symbol is set to "circle". This didn't happen with Mapserver 4.2. When I change the symbol to "square", the

RE: [MAPSERVER-USERS] How to map attribute data (non-geom) fromOracle(not Spatial)?

2008-08-06 Thread Nolte, Tim
Bill, You got it. - Tim Timothy J Nolte - [EMAIL PROTECTED] Network Planning Engineer iPCS Wireless, Inc. 4717 Broadmoor Ave, Suite G Kentwood, MI 49512 Office: 616-656-5163 PCS:616-706-2438 Fax:616-554-6484 Web: www.ipcswirelessinc.com > -Original Message- > From: [EMAI

Re: [MAPSERVER-USERS] Mapserver bug when generating a tiled map with MapFish

2008-08-06 Thread Eric Lemoine
Hi. Do you have maxExtent set in your map options? OpenLayers shouldn't request tiles outside the max extent. If it does it's a bug in OpenLayers. Another guestion: what layer type do you use? Layer.MapServer or Layer.WMS? If you use the former, make mapserver work as a WMS server and try using Lay

[mapserver-users] About labeling

2008-08-06 Thread Carlos Ruiz
I have a layer wich contains the street names, and i want to display it. Then, system crashes saying that CGI / FastCGI detected a problem and it must close. The error signature throws this: szAppName : php-cgi.exe szAppVer : 5.2.5.5 szModName : libmap.dll szModVer : 0.0.0.0 of

RE: [MAPSERVER-USERS] Road Lines with AGG

2008-08-06 Thread riteshambastha
Hey Tim, Thanks for the code snippets :) But, whenever i use mimetype "image/png", i get an error while seeding the tiles. Any clues? Regards, Ritesh Nolte, Tim wrote: > > Here is what I have used for PNG in the OUTPUFORMAT: > > # == >

Re: [MAPSERVER-USERS] How to map attribute data (non-geom) from Oracle(not Spatial)?

2008-08-06 Thread Bill Wordsworth
http://www.oracle.com/technology/products/spatial/spatial_locator_features.html Shapefile Converter > SQL*Loader > MapServer Query? Is that all it takes? On Tue, Aug 5, 2008 at 4:01 PM, Bill Wordsworth <[EMAIL PROTECTED]> wrote: > Tim, > I didn't know you could do "geom from..." without Oracle Sp

RE: [MAPSERVER-USERS] Road Lines with AGG

2008-08-06 Thread Nolte, Tim
Here is what I have used for PNG in the OUTPUFORMAT: # == # Image Output Definition # == OUTPUTFORMAT NAME png DRIVER "AGG/PNG" MIMETYPE "image/png" EXTENSION "png" IMAGEMODE

[mapserver-users] WMS filter with PropertyIsLike/matchCase doesn't work

2008-08-06 Thread SAEZ Laurent - CETE Méditerr./DI/ETER
Hi list, I have to make WMS and WFS CaseInsensitive requests. In this example I use a TAB file and I search a city with its name. I have a city called milla. In the TAB file the data is : Milla I have tried WMS request with filter/PropertyIsEqualTo/matchCase and it works fine ! http://localhos

[mapserver-users] SLD parameter not cascaded (v5.2)

2008-08-06 Thread Van Ulden, Joost
Can someone verify that SLD parameters are not supposed to be passed on to a cascaded service. For example, I am requesting a cascaded layer with an SLD parameter as follows: ...&SLD=http://somerul/8321daf4-fb37-44d8-876b-d7860c4eda14.xml&RULE=DefaultStyle... ...the SLD does not get applied.

Re: [MAPSERVER-USERS] Layer SRS WKT: (unknown)

2008-08-06 Thread Frank Warmerdam
FCampos wrote: I´ve got a shape that in ogrinfo gives me: Layer SRS WKT: (unknown) What can i do to put this shape ok ? FCampos, First, MapServer does not normally use the coordinate system information from shapefiles (or any other format). Instead you are normally expected to redefine th

Re: [mapserver-users] Shp file creation

2008-08-06 Thread Νίκος Παπαδάκης
I used shapelib and particulary the shpcreate tool to create an empty shape file and then shpadd to add entriew in it. But in this way i will have to enter all data manually! Is there any other way to generate it with a more automated way? Aldo,theese tools don't produce the required .dbf file. O

[MAPSERVER-USERS] Layer SRS WKT: (unknown)

2008-08-06 Thread FCampos
I´ve got a shape that in ogrinfo gives me: Layer SRS WKT: (unknown) What can i do to put this shape ok ? -- View this message in context: http://www.nabble.com/Layer-SRS-WKT%3A-%28unknown%29-tp18854439p18854439.html Sent from the Mapserver - User mailing list archive at Nabble.com.

Re: [mapserver-users] MapServer Version 5.2.0 Source Released

2008-08-06 Thread William Kyngesburye
On Aug 6, 2008, at 10:51 AM, William Kyngesburye wrote: On Jul 20, 2008, at 3:30 PM, William Kyngesburye wrote: My OSX build is finally ready (lots of distractions this week). I added a couple things: - instructions for compiling other mapscripts that are not included in the installer.

Re: [mapserver-users] MapServer Version 5.2.0 Source Released

2008-08-06 Thread William Kyngesburye
On Jul 20, 2008, at 3:30 PM, William Kyngesburye wrote: My OSX build is finally ready (lots of distractions this week). I added a couple things: - instructions for compiling other mapscripts that are not included in the installer. "are now included" took me a while to notice ;) - a buil

Re: [mapserver-users] msDrawRaster(): Image handling error with sles /opensuse

2008-08-06 Thread Frank Warmerdam
John, My suggestion would be to carefully review the paths you are using, and the permissions of the server. You may find it helpful to test from the commandline to isolate cgi permissions issues, and so that you can see immediate debugging information. Best regards, John Westwood wrote: Okay

RE: [MAPSERVER-USERS] mapserver does not show oracle layer

2008-08-06 Thread FCampos
i export the layer to shape and , and made ogrinfo and i´ve got: Geometry: Line String Feature Count: 5801 Extent: (-113613.582981, -286361.190557) - (108654.660386, 258019.490810) Layer SRS WKT: (unknown) What´s the Layer SRS WKT: (unknown) -- View this message in context: http://www.nabb

RE: [MAPSERVER-USERS] Road Lines with AGG

2008-08-06 Thread Ritesh Ambastha
Still looking for a solution :( -Ritesh Nolte, Tim wrote: > > When you are using AGG for your output do not use antialias true on your > layers. > > - Tim > > > Timothy J Nolte - [EMAIL PROTECTED] > Network Planning Engineer > > iPCS Wireless, Inc. > 4717 Broadmoor Ave, Suite G > Kentw

RE: [mapserver-users] RE: Labeling

2008-08-06 Thread Jay Kapalczynski
That was itmoved the lines inside the LABEL CLASS Credit due to the GeoMoose Forum...(Dan) But I do thank you all for your help...it is very appreciated. Especially for Green coders like myself... Thanks again Steve for your response CLASS LABEL PUT LINES HER

Re: [mapserver-users] RE: Labeling

2008-08-06 Thread Steve Lime
>From your example I can see that your "ANGLE" parameter is in the wrong object >it should be in the label object to rotate the text. As is you should be throwing parsing errors. the item storing the angle need not be numeric although the values must represent numbers upon conversion. Steve >>

RE: [mapserver-users] Network / UNC access problems

2008-08-06 Thread Emerson, Gabe
On further review with the IT department, it turns out our IIS server wasn't set up quite as expected. The anonymous web user had access to .html and .txt files, but not other file types, and only through http paths (not UNC). If it's of any interest, I was able to use some resources in mapserver b

Re: [MAPSERVER-USERS] Mapserver bug when generating a tiled map with MapFish

2008-08-06 Thread Pierre-Benoit Besse
Unfortunately there is no connection to internet on the platform I develop on. All is done localy. I will try to be more precise. I am trying to display a shapefile representing the whole world (it's a shapefile from Global Insight plus if it helps). I use mapfish without 'singleTile: true' so the

Re: [mapserver-users] mapserver+postgres

2008-08-06 Thread Carlos Ruiz
You will need three tags within the LAYER one: CONNECTION "host=a port=b dbname=c user=d password=e" CONNECTION TYPE POSTGIS DATA "the_geom FROM your_table_name" IC Carlos Ruiz  --- On Wed, 8/6/08, ramses2k <[EMAIL PROTECTED]> wrote: From: ramses2k <[EMAIL PROTECTED]> Subject: [mapserver-users]

RE: [mapserver-users] GPS to GIS

2008-08-06 Thread Fawcett, David
I think that the way that you phrased your questions was a little confusing. 'GPS coordinates' and 'GIS coordinates' are really the same thing. It sounds more like you want to convert the format that the coordinates are stored in from the one used by your GPS to one that works in a GIS or wit

Re: [MAPSERVER-USERS] Mapserver bug when generating a tiled map with MapFish

2008-08-06 Thread Daniel Morissette
Pierre-Benoit, Unfortunately for you, MapServer has no automated way to deal with wrapping coordinates at the date line. If all your data is in the [-180,180] range and you request a map for the [180,270] range then MapServer doesn't find anything to render and returns a blank map. You could

Re: [mapserver-users] Still cannot display postGIS layers using ms4w(MapServer 5.0.2 on WinXP).

2008-08-06 Thread Carlos Ruiz
It seems that if you specify an empty filter like FILTER "", Mapserver take it instead to ignore it. That means Mapserver construct a SQL statement with the WHERE clause empty (without conditionants). IC Carlos Ruiz --- On Wed, 8/6/08, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: From: [EMAI

Re: [mapserver-users] Shp file creation.

2008-08-06 Thread Νίκος Παπαδάκης
O/H Atul Dravid έγραψε: Have you tried going through shapelib documentation ? Regards, Atul Dravid -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of ? ?apad Sent: Monday, August 04, 2008 11:37 PM To: mapserver-users@lists.osgeo.org Subject: [maps

Re: [mapserver-users] GPS to GIS

2008-08-06 Thread Peter Falk
Thanks for your reply. My intension was to convert CPS-coords to GIS-coords on the fly and for that purpose I needed a piece of scripting (an algorithm). But if GPSBabel can convert data between these formats, I'll go for that. Christy Nieman skrev: I've used GPSBabel (http://www.gpsbabel.o

Re: [mapserver-users] msDrawRaster(): Image handling error with sles /opensuse

2008-08-06 Thread John Westwood
Okay, I did a mapserv -v at the command line and it returned the following supported inputs: INPUT=TIFF INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE Typing gdalinfo --formats at the command line returns: GTiff (rw+): GeoTIFF amongst many other supported formats. So it should work, but

[mapserver-users] Build for ArcSDE 92

2008-08-06 Thread Hallgren, Johan
Hello As I can see the build for ArcSDE 9.2 doesn't work as expected. The problem is that pe.lib, sde.lib and sg.lib does not include SDRE version numer anymore and the following line does not work. SDE_LIB = $(SDE_DIR)\lib\pe$(SDE_VERSION).lib \ $(SDE_DIR)\lib\sde$(SDE_VERSION).lib \ $(SD

[mapserver-users] Build for ArcSDE 92

2008-08-06 Thread Hallgren, Johan
... sorry:) Hello As I can see the build for ArcSDE 9.2 doesn't work as expected. The problem is that pe.lib, sde.lib and sg.lib does not include SDE version number anymore and the following line nmake.opt does not work. SDE_LIB = $(SDE_DIR)\lib\pe$(SDE_VERSION).lib \ $(SDE_DIR)\lib\sde$(SDE_

Re: [mapserver-users] GPS to GIS

2008-08-06 Thread Christy Nieman
I've used GPSBabel (http://www.gpsbabel.org) to download data from my GPS and get them into more usable formats. It can also convert between formats. I'm not sure what you mean by converting between GPS and GIS coordinates. If you have a delimited table of coordinates you should be able to

Re: re: [MAPSERVER-USERS] mapserver does not show oracle layer

2008-08-06 Thread FCampos
yes, that what i do ! Josh Hevenor-2 wrote: > > Hi there, > With my oracle spatial layers I use > > connection "uui/[EMAIL PROTECTED]", where the dbname is setup on your server > using the oracle clients 'Net Manager'. > Hope this helps, > > Josh Hevenor > > >

RE: [MAPSERVER-USERS] mapserver does not show oracle layer

2008-08-06 Thread FCampos
hi, how do you check the rigth srid in the oracle ? -- View this message in context: http://www.nabble.com/mapserver-does-not-show-oracle-layer-tp18847632p18850449.html Sent from the Mapserver - User mailing list archive at Nabble.com. ___ mapserver

re: [MAPSERVER-USERS] mapserver does not show oracle layer

2008-08-06 Thread Josh Hevenor
Hi there, With my oracle spatial layers I use connection "uui/[EMAIL PROTECTED]", where the dbname is setup on your server using the oracle clients 'Net Manager'. Hope this helps, Josh Hevenor ___ mapserver-users mailing list mapserver-users@lists

[mapserver-users] mapserver+postgres

2008-08-06 Thread ramses2k
Hi All, I'm new to mapserver, and tried out some examples (itasca, gmap, p.mapper, openlayers). I want to build a mapping application, where I can query points on mouseclick, that are located in a postgres/postGis Database. So far the examples I tried out only deal with shapefiles. Do you have

RE: [MAPSERVER-USERS] mapserver does not show oracle layer

2008-08-06 Thread Nolte, Tim
Well, I have no problems. I'm running the same version of MapServer 5.2, however I think I'm only running IC 10.2. What I have in my map file is; LAYER GROUP "Switch Boundaries" NAME "Kentwood" TYPE POLYGON STATUS OFF CONNECTIONTYPE oraclespatial CONNECTION "username/[

Re: [MAPSERVER-USERS] Mapserver bug when generating a tiled map with MapFish

2008-08-06 Thread Pierre-Benoit Besse
Isn't there anyone to help me with this ? 2008/8/4 Faldor <[EMAIL PROTECTED]> > > Hi all, > > I use Mapserver with mapfish for the client side to display shapefiles > which > I generated using ogr2ogr. > > The problem is when I try to display a tiled layer (mapfish singleTile > property set to 'f

[mapserver-users] GPS to GIS

2008-08-06 Thread Peter Falk
Hi, I have a table of GPS-coordinates that I want to use as POI. I've tried to find an algoritm to convert GPS-coordinates to GIS-coordinates but without luck. It would be a great help if anyone could tell me how to do this translation. Thanks! Regards Peter Falk __

[mapserver-users] msDrawRaster(): Image handling error with sles / opensuse

2008-08-06 Thread John Westwood
Hi, I have successfully compiled MapServer 5.2 on both Debian Etch and SUSE = Linux Enterprise Server (SLES) 10 SP2 . Everything works fine on Debian, = but on SUSE I receive the following error when trying to display any = raster based layers: msDrawMap(): Image handling error. Failed to draw la

RE: [MAPSERVER-USERS] mapserver does not show oracle layer

2008-08-06 Thread FCampos
Yes. Mapserver, I´ve got: MapServer version 5.2.0 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP OUTPUT=PDF OUTPUT=SWF OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=ICO NV SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIE NT SUPPORTS=WCS_SERVER SUPPO

RE: [MAPSERVER-USERS] mapserver does not show oracle layer

2008-08-06 Thread Nolte, Tim
Are you certain that you have Oracle client installed and MapServer compile against it? Timothy J Nolte - [EMAIL PROTECTED] Network Planning Engineer iPCS Wireless, Inc. 4717 Broadmoor Ave, Suite G Kentwood, MI 49512 Office: 616-656-5163 PCS:616-706-2438 Fax:616-554-6484 Web: www.i

RE: [MAPSERVER-USERS] Displaying the shape files using the map server

2008-08-06 Thread Venkat Rao Tammineni
Hi, This is PHP with mapserver. Please have look once. http://mapserver.gis.umn.edu/docs/howto/phpmapscript-byexample Thanks and Regards Venkat -Original Message- From: Krishna Mohan [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 06, 2008 4:24 PM To: 'Venkat Rao Tammineni';

Re: [MAPSERVER-USERS] Displaying the shape files using the map server

2008-08-06 Thread krishna mohan
Hi, I have gone through that. But I could not figure out where to keep the .map files. Krishna Mohan FCampos wrote: > > check http://mapserver.gis.umn.edu/docs > > > krishna mohan wrote: >> >> Hi, >> >> I am very new to map server. >> I have installed map server and want to display the sh

RE: [MAPSERVER-USERS] Displaying the shape files using the map server

2008-08-06 Thread Krishna Mohan
Hi, Thanks for the quick reply. I am not using any programming language. I just want to display the shape file on a web browser using the mapserver. Is it possible, Krishna Mohan -Original Message- From: Venkat Rao Tammineni [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 06, 2008 4

Re: [MAPSERVER-USERS] Displaying the shape files using the map server

2008-08-06 Thread FCampos
check http://mapserver.gis.umn.edu/docs krishna mohan wrote: > > Hi, > > I am very new to map server. > I have installed map server and want to display the shape files using map > server on internet explorer. I also have a post gis database from which I > would like to display. Can some one pl

RE: [MAPSERVER-USERS] Displaying the shape files using the map server

2008-08-06 Thread Venkat Rao Tammineni
Hi, Which programming language you are using .let me know. Thanks and regards Venkat. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of krishna mohan Sent: Wednesday, August 06, 2008 4:17 PM To: mapserver-users@lists.osgeo.org Subject: [MAPSERVER-USERS]

[MAPSERVER-USERS] Displaying the shape files using the map server

2008-08-06 Thread krishna mohan
Hi, I am very new to map server. I have installed map server and want to display the shape files using map server on internet explorer. I also have a post gis database from which I would like to display. Can some one please help me how to do that. Krishna Mohan -- View this message in context:

Re: [MAPSERVER-USERS] mapserver does not show oracle layer

2008-08-06 Thread FCampos
That´s strange because does not appear nothing about oracle layer. C:\ms4w\apps\wmssrvrefer>shp2img -m config.map -o test.png -all_debug 10 msLoadMap(): 0.031s msDrawMap(): Layer 0 (major_roads_small_4), 0.000s msDrawMap(): Drawing Label Cache, 0.000s msDrawMap() total time: 0.015s msSaveImage()

Re: [MAPSERVER-USERS] mapserver does not show oracle layer

2008-08-06 Thread bartvde
What do you get if you use shp2img with debug info? shp2img -all_debug 10 Best regards, Bart > > Hi, > i´m having troubles shwoing a oracle layer in mapserver. > > in open layers i´ve: > map = new OpenLayers.Map( 'map' , > { > scales: [ 400,300,200,100,

[MAPSERVER-USERS] mapserver does not show oracle layer

2008-08-06 Thread FCampos
Hi, i´m having troubles shwoing a oracle layer in mapserver. in open layers i´ve: map = new OpenLayers.Map( 'map' , { scales: [ 400,300,200,100, 50,20, 10, 5,2,1 ], maxExtent: new OpenLayers.Bounds(-18,34,4,45),

Re: [mapserver-users] Still cannot display postGIS layers using ms4w(MapServer 5.0.2 on WinXP).

2008-08-06 Thread [EMAIL PROTECTED]
I am an idiot. Well I don't have a database named postgis on the first place (only template_postgis), but I tried to apply your first DATA line to my own database (test_mapserv). Then I realized: your file don't have FILTER "" clause. At the same time, someone from postGIS mailing list told me

RE: [mapserver-users] Still cannot display postGIS layers using ms4w (MapServer 5.0.2 on WinXP).

2008-08-06 Thread Venkat Rao Tammineni
Hi, Is Your localhost is working fine? If it is... do like below .only table name. For example " the_geom from India " .India is my table name. I hope you will get some idea. LAYER NAME "kawasanbencana" TYPE POLYGON CONNECTIONTYPE postgis CONNECTION 'host=localhost use