[mapserver-users] mapserver 5 TIFF displaying problem

2008-09-16 Thread Raivo Alla
Hello, I'm quite new using Mapserver and found myself struggling with this simple-looking problem: In my map file, there is layer defined as follows: LAYER TYPE RASTER NAME "raster" STATUS ON DATA "54653.tif" END The problem is, that this image is corrupted when I look at it in ArcMap - it c

[mapserver-users] MapInfo Auto Labeling and MapServer

2008-09-16 Thread Matej
Hi, after deploying MapServer on one of our servers I thinks that MapServer is a great tool but I am having some problems with TABs, imported from MapInfo. I am able to load all the layers from the test workspace except one, which consists of a houses (circle symbol) and house addresses (auto-

Re: [mapserver-users] Ed's Rules for the Best Raster Performance

2008-09-16 Thread Jim Klassen
One other thing I just noticed: to effectively use the tiled tiffs I need BigTiff support which looks like it is a real new thing (needs libtiff 4.0 which is still in beta according to the remotesensing.org ftp site.) Anyway, I'm still going to give this a try and check the performance differenc

Re: [mapserver-users] Ed's Rules for the Best Raster Performance

2008-09-16 Thread Jim Klassen
Ed, Good points about using tiled tiffs so that mapserver doesn't have to read the whole file. I was thinking TIFFs were scanline based where you would have to do a lot of reading or a lot of seeking anyway if you wanted to pull out a subset of the file to render. JPEG in TIFF is also interesti

Re: [mapserver-users] Ed's Rules for the Best Raster Performance

2008-09-16 Thread Jeff Hoffmann
Ed McNierney wrote: If you want to shrink the file size in this thought experiment that’s fine, but realize that you are thereby increasing the number of files that need to be opened for a random image request. And each new open file incurs a relatively high cost (directory/disk seek overhead,

Re: [mapserver-users] qstring validation question

2008-09-16 Thread John B. Churchill
Steve Lime wrote: JohN: It's given as a regex in the layer metadata: 'qstring_validation_pattern''^[0-9]{1,2}$' This one limits the qstring to a 1 or 2 digit integer. Steve Thanks Steve ... I actually got this working by looking through old archived [mapserver-users] e-mails. I foun

Re: [mapserver-users] Ed's Rules for the Best Raster Performance

2008-09-16 Thread Bob Basques
Hi All, I work with Jim, so I suppose I should add some stuff here. We use Jpegs for Aerial Photography only, and PNGs for everything else, for the same reasons stated here. I'll let Jim talk to the technical stuff related to the pyramiding process as he put it all together into an automate

Re: [mapserver-users] qstring validation question

2008-09-16 Thread Steve Lime
JohN: It's given as a regex in the layer metadata: 'qstring_validation_pattern''^[0-9]{1,2}$' This one limits the qstring to a 1 or 2 digit integer. Steve >>> On 9/16/2008 at 10:05 AM, in message <[EMAIL PROTECTED]>, "John B. Churchill" <[EMAIL PROTECTED]> wrote: > We recently upgraded to

Re: [mapserver-users] Ed's Rules for the Best Raster Performance

2008-09-16 Thread pcreso
Hmmm the discussion here has only looked at jpgs & geotiffs. I tend to use PNG format, which I believe is less lossy than jpgs, & supports transparency, which has worked fine for small scale implementations. Can any experts here comment on the pros/cons of png vs jpg? Thanks, Brent Wood

Re: [mapserver-users] Ed's Rules for the Best Raster Performance

2008-09-16 Thread Ed McNierney
Jeff - I'm not convinced, either, but I have never seen a real-world test that has shown otherwise. There haven't been many such tests, but I have done them myself and several others have done them as well and posted the results on this list. There may be tradeoffs which require a different i

Re: [mapserver-users] Ed's Rules for the Best Raster Performance

2008-09-16 Thread Jeff Hoffmann
Ed McNierney wrote: And remember that not all formats are created equal. In order to decompress ANY portion of a JPEG image, you must read the WHOLE file. If I have a 4,000x4,000 pixel 24-bit TIFF image that’s 48 megabytes, and I want to read a 256x256 piece of it, I may only need to read one

[mapserver-users] qstring validation question

2008-09-16 Thread John B. Churchill
We recently upgraded to a newer version of Mapserver. I'm guessing the problem with my old scripts are due to the upgrade (seems likely). I'm getting this error: mapserv(): Web application error. Metadata qstring_validation_pattern is not set. My qstring is set by my javascript. What should t

Re: [mapserver-users] Mapserver site down?

2008-09-16 Thread Alan Boudreault
I confirm that the site is down. Alan Barend Kobben wrote: Is it me, or is the mapserver site at http://mapserver.gis.umn.edu/ Really unavailable (already for some 24 hours now)? Barend -- Alan Boudreault Mapgears http://www.mapgears.com ___

[mapserver-users] Mapserver site down?

2008-09-16 Thread Barend Kobben
Is it me, or is the mapserver site at http://mapserver.gis.umn.edu/ Really unavailable (already for some 24 hours now)? Barend -- Barend Köbben International Institute for Geo-Information Sciences and Earth Observation (ITC) PO Box 6, 7500AA Enschede, The Netherlands +31 (0)53 4874253 Inte

Re: [mapserver-users] Re: [Geomoose-users] running GeoMoose & Mapserver locally

2008-09-16 Thread Jeff McKenna
Nils Zierath wrote: Does anybody know or has got a link to a good tutorial other than the MS4W [EMAIL PROTECTED] If you are learning MS4W the document to use is: http://www.maptools.org/ms4w/index.phtml?page=README_INSTALL.html MS4W has its own mailing list for configuration questions, wh

Re: [MAPSERVER-USERS] How to use SLD with WFS

2008-09-16 Thread Rahkonen Jukka
Hi, WFS service is delivering just vectors, pure coordinates and attribute data. Styling with SLD is connected to WMS service, not WFS. In WFS the client must take care of styling. I guess that WFS client can be made to take styling instructions from SLD file, but that's another challenge. -

R: [MAPSERVER-USERS] Debian Oracle10g OCI

2008-09-16 Thread Leandro Dardini
I hate using the LD_LIBRARY_PATH trick. I think this is a work around for software developer to not take in to account different Linux software distribution. If you have a Lenny, add a file into /etc/ld.so.conf.d with the list of directory where special oracle library resides. Run ldconfig -v

Re: [MAPSERVER-USERS] Debian Oracle10g OCI

2008-09-16 Thread Umberto Nicoletti
I'm at a complete loss here. I assume there is a problem with your oracle install. did you run /etc/init.d/oracle-xe configure? Umberto 2008/9/16 <[EMAIL PROTECTED]>: > Makefile generates without any problems, but when executing make command I > receive: > > /usr/bin/ld: warning: libnnz10.so, ne

[MAPSERVER-USERS] How to use SLD with WFS

2008-09-16 Thread daa32
Hi everyone!, I´m trying to serve a WFS service. I´ve already generate the SLD associated with the layers. But I don´t know how to link my map file with SLD...I suppose there must be some metadata like wms_sld_url, wms_sld_bodyor something similar. Any ideas or examples, please? Thanks

Re: [MAPSERVER-USERS] Debian Oracle10g OCI

2008-09-16 Thread dzizes451
Makefile generates without any problems, but when executing make command I receive: /usr/bin/ld: warning: libnnz10.so, needed by /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/lib/libclntsh.so, not found (try using -rpath or -rpath-link) /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/lib

Re: [MAPSERVER-USERS] Debian Oracle10g OCI

2008-09-16 Thread Umberto Nicoletti
Revert configure to the previous oraclespatial setting and try: export ORACLE_HOME=/usr/lib/oracle/xe/app/oracle/product/10.2.0/server before configure. Umberto 2008/9/16 <[EMAIL PROTECTED]>: > Now I get: > > checking if OracleSpatial support requested... yes, user supplied > ORACLE_HOME > co

Re: [MAPSERVER-USERS] Debian Oracle10g OCI

2008-09-16 Thread Umberto Nicoletti
try: -with-oraclespatial=/usr/lib/oracle/xe/app/oracle/product/10.2.0 otherwise post the config.log file. Umberto 2008/9/16 <[EMAIL PROTECTED]>: > Thanks for the tip! > The Makefile looks like: > -- Compiler Info - > C compiler:gcc -O2 -fPIC -Wall >

Re: [MAPSERVER-USERS] Debian Oracle10g OCI

2008-09-16 Thread dzizes451
Thanks for the tip! The Makefile looks like: -- Compiler Info - C compiler:gcc -O2 -fPIC -Wall C++ compiler: g++ -O2 -fPIC -Wall Debug: Generic NINT: -- Renderer Settings - zlib support: -DUSE_ZLIB

VS: [mapserver-users] How to improve raster imagery display ?

2008-09-16 Thread Rahkonen Jukka
Hi, I do not quite undertand this: > > But our main concern are the scales 2000 and 1000, where > > the displaying > > process is producing many dozens of tiles, each 256 x 256 > > pixel .png-files. > > Along with the other layers (where the vector-data also are > > d

Re: [mapserver-users] Ed's Rules for the Best Raster Performance

2008-09-16 Thread Flavio Hendry
Hi > #3. Don't compress your data > - avoid jpg, ecw, and mrsid formats. mmmh, my experience is, that ecw is extremely fast ... Mit freundlichem Gruss / Best Regards Flavio Hendry TYDAC Web-Site: http://www.tydac.ch TYDAC

Re: [MAPSERVER-USERS] Debian Oracle10g OCI

2008-09-16 Thread Umberto Nicoletti
Usign tiff AND gdal is not recommended, you'd better try these options: ./configure -with-oraclespatial=/usr/lib/oracle/xe/app/oracle/product/10.2.0/server -with-proj -with-wfsclient -with-wmsclient -with-gdal -with-ogr -with-threads -with-freetype -without-tiff -with-FastCGI as for the expat e

Re: [MAPSERVER-USERS] Debian Oracle10g OCI

2008-09-16 Thread dzizes451
Hi again, I've tried to compile mapserv executable with: ./configure -with-oraclespatial=/usr/lib/oracle/xe/app/oracle/product/10.2.0/server -with-proj -with-wfsclient -with-wmsclient -with-gdal -with-ogr -with-threads -with-freetype -with-tiff -with-FastCGI and I receive this error: /usr/bin/

Re: [mapserver-users] How to improve raster imagery display ?

2008-09-16 Thread Rainer Kalliany
Dear Ed (and all other newsgroup folks), Many thanks for your comment and link on previous postings, which I tried to explore. The follow-up posting on "Ed's rules for best raster performance" by Brent indeed seems to contain the essence of your recommendations. As it is often with good advice, a

[mapserver-users] Re: [Geomoose-users] running GeoMoose & Mapserver locally

2008-09-16 Thread Nils Zierath
Dan, thanks for the hint. No, I'm not using MS4W/never used it yet. My sever is running on Debian 4.0 with Apache 2.2.9 mod_fastci, PHP5, Mapserver 5.0.2 in cgi mode and GeoMoose 1.4. Since I haven't worked with MS4W yet I do not have a clue how laborious it would be to apply the config files