[ka-Map-users] How can I use precache_wget.php

Antonio Garcia angarben at hotmail.com
Wed Jan 16 19:43:36 EST 2008


I haven´t the file precache_wget.php.
 
How can I use it. Where is this file?
 
I saw it in the web:http://ka-map.ominiverdi.org/wiki/index.php/Pre-caching_system
Thanks,
Saludos, ----------- Antonio García Benlloch Correo: angarben at hotmail.com angarben at topo.upv.es Web: http://personales.alumno.upv.es/~angarben> Date: Wed, 16 Jan 2008 12:01:42 -0500> From: ka-map-users-request at lists.maptools.org> Subject: ka-Map-users Digest, Vol 33, Issue 8> To: ka-map-users at lists.maptools.org> > Send ka-Map-users mailing list submissions to> ka-map-users at lists.maptools.org> > To subscribe or unsubscribe via the World Wide Web, visit> http://lists.maptools.org/mailman/listinfo/ka-map-users> or, via email, send a message with subject or body 'help' to> ka-map-users-request at lists.maptools.org> > You can reach the person managing the list at> ka-map-users-owner at lists.maptools.org> > When replying, please edit your Subject line so it is more specific> than "Re: Contents of ka-Map-users digest..."> > > Today's Topics:> > 1. Re: ecw imageformat problems (Luca De Felice)> 2. Re: Re: ecw imageformat problems (Luca Casagrande)> 3. Re: Re: ecw imageformat problems (Alessio Di Lorenzo)> > > ----------------------------------------------------------------------> > Message: 1> Date: Tue, 15 Jan 2008 09:49:52 +0100> From: "Luca De Felice" <defelice.luca at gmail.com>> Subject: [ka-Map-users] Re: ecw imageformat problems> To: "Luca De Felice" <defelice.luca at gmail.com>,> <ka-map-users at lists.maptools.org>> Message-ID: <001301c85753$9a4c68a0$3c82a8c0 at idrocz.net>> Content-Type: text/plain; charset="iso-8859-1"> > I thought maybe the problem is related to the server linux debian, because I have installed FGS package, but I don't know if there is, for default, the ability for ECW.> Does somebody know if it is necessary to recompile the GDAL library with ECW support with FGS?> thank you very much> ----- Original Message ----- > From: Luca De Felice > To: ka-map-users at lists.maptools.org > Sent: Saturday, January 12, 2008 4:35 PM> Subject: ecw imageformat problems> > > Hi kamappers!> I need some help from someone because I've implemented a webgis with kamap, but when I tried to publish ecw raster image I found only blank image in the tiles.> I know there is some problem with the image format when it is used the ecw format, but I thought to fix using "jpeg" format.> here is the setting in config.php==>> $aszGMap2 = array (> > 'title' => 'Dati stazioni di misura',> > 'path' => '../../map/dati_stazioni.map',> > 'scales' => array(2000000, 1000000, 500000, 100000, 50000, 12000, 2000),> > 'format' =>'JPEG'> > /* Sample authorized_users entry. See auth.php for more details:> > * ,'authorized_users' => array('popplace' => array('user1', 'user2'),> > * 'park' => array('user1')> > */> > );> > and here is the settting in the mapfile==>> > MAP> > NAME "dati_stazioni.map"> > STATUS ON> > EXTENT 550917 4194760 692792 4445675 > > SIZE 1200 900 > > IMAGETYPE JPEG> > IMAGECOLOR 255 255 255> > UNITS METERS> > SYMBOLSET "../map/symbol/symbols.sym"> > TRANSPARENT ON> > WEB> > # IMAGEPATH "tmp/ms_tmp/kacache/"> > # IMAGEURL "kacache/"> > IMAGEPATH "../../../tmp/ms_tmp/" > > IMAGEURL "ms_tmp/"> > END> > LEGEND> > STATUS ON> > IMAGECOLOR 255 255 255> > TRANSPARENT TRUE> > POSITION LL> > KEYSIZE 20 10 > > KEYSPACING 5 5 > > LABEL> > TYPE BITMAP> > SIZE MEDIUM> > OFFSET 0 0 > > BUFFER 0> > MINDISTANCE -1> > MINFEATURESIZE -1> > COLOR 0 0 0> > PARTIALS TRUE> > FORCE FALSE> > END> > END> > SCALEBAR> > STATUS ON> > COLOR 0 0 0> > IMAGECOLOR 255 255 255> > UNITS MILES> > INTERVALS 4> > SIZE 200 3 > > STYLE 0> > POSITION LL> > LABEL> > TYPE BITMAP> > SIZE MEDIUM> > OFFSET 0 0 > > BUFFER 0> > MINDISTANCE -1> > MINFEATURESIZE -1> > COLOR 0 0 0> > PARTIALS TRUE> > FORCE FALSE> > END> > END> > REFERENCE> > IMAGE "../data/dtm.jpg"> > EXTENT 2470012 4174979 2796449 4460080> > SIZE 180 240> > STATUS ON> > MINBOXSIZE 5> > MAXBOXSIZE 100> > COLOR 255 0 0> > OUTLINECOLOR 0 0 0> > MARKERSIZE 8> > MARKER 'star'> > END #REFERENCE> > #OUTPUTFORMAT> > # NAME dithered> > # DRIVER "GD/PNG"> > # EXTENSION "png"> > # MIMETYPE "image/png"> > # IMAGEMODE RGBA> > # TRANSPARENT OFF> > # FORMATOPTION "QUANTIZE_FORCE=ON"> > # FORMATOPTION "QUANTIZE_DITHER=OFF"> > # FORMATOPTION "QUANTIZE_COLORS=256"> > #END > > # OUTPUTFORMAT> > # NAME "PNG24"> > # MIMETYPE "image/png"> > # DRIVER "GD/PNG24"#> > # EXTENSION "png"> > # IMAGEMODE RGBA> > # TRANSPARENT OFF> > # END> > OUTPUTFORMAT> > NAME "JPEG"> > MIMETYPE "image/jpeg"> > DRIVER "GD/JPEG"> > EXTENSION "jpg"> > IMAGEMODE RGB> > TRANSPARENT OFF> > END> > LAYER> > GROUP "ORTOFOTO"> > NAME "ORTOFOTO"> > TYPE raster> > STATUS ON> > # DATA "C:\ms4w\apps\ka-map-1.0\data\mosaico ortofoto\calabria.ecw"> > DATA "ecwp://procivecw.protezionecivilecalabria.it/pkt169_ecw/pkt169-72-1.0_Mosaico_Ortofoto_Calabria.ecw"> > CLASS> > NAME "ORTOFOTO"> > END #CLASS> > END #LAYER> > LAYER> > GROUP "CZ"> > NAME "PRECISO CZ"> > TYPE raster> > STATUS OFF> > DATA "ecwp://procivecw.protezionecivilecalabria.it/pkt169_ecw/IK_RGB_Catanzaro.ecw"> > CLASS> > NAME "PRECISO CZ"> > END #CLASS> > END #LAYER> > LAYER> > GROUP "IGM"> > NAME "IGM"> > TYPE raster> > STATUS OFF> > DATA "ecwp://procivecw.protezionecivilecalabria.it/pkt169_ecw/Cala_IGM25000.ecw"> > CLASS> > NAME "IGM"> > END #CLASS> > END #LAYER> > END #MAP> > > > thank you in advance for any answers> > Luca De Felice> -------------- next part --------------> An HTML attachment was scrubbed...> URL: http://lists.maptools.org/pipermail/ka-map-users/attachments/20080115/b4bad15e/attachment-0001.html> > ------------------------------> > Message: 2> Date: Tue, 15 Jan 2008 18:51:11 +0100> From: Luca Casagrande <luca.casagrande at gmail.com>> Subject: Re: [ka-Map-users] Re: ecw imageformat problems> To: Luca De Felice <defelice.luca at gmail.com>> Cc: ka-map-users at lists.maptools.org> Message-ID: <478CF28F.9010005 at gmail.com>> Content-Type: text/plain; charset=ISO-8859-1; format=flowed> > Hi Luca,> > Mapserver uses gdal, so you need to build it with ECW support. I think > you have to reuild it by hand.> > Ciao> Luca> Luca De Felice ha scritto:> > I thought maybe the problem is related to the server linux debian, because I have installed FGS package, but I don't know if there is, for default, the ability for ECW.> > Does somebody know if it is necessary to recompile the GDAL library with ECW support with FGS?> > > > > > ------------------------------> > Message: 3> Date: Wed, 16 Jan 2008 12:56:57 +0100> From: Alessio Di Lorenzo <alessio.dilorenzo at gmail.com>> Subject: Re: [ka-Map-users] Re: ecw imageformat problems> To: ka-map-users at lists.maptools.org> Message-ID: <478DF109.5060401 at gmail.com>> Content-Type: text/plain; charset=ISO-8859-1; format=flowed> > Luca De Felice ha scritto:> > I thought maybe the problem is related to the server linux debian, > > because I have installed FGS package, but I don't know if there is, > > for default, the ability for ECW.> > Does somebody know if it is necessary to recompile the GDAL library > > with ECW support with FGS?> > thank you very much> > Hi Luca,> try to run the command gdalinfo --formats and check if there's a row > bout ecw. I think not... so you need to recompile the support.> > A few month ago I prepared a little how-to for ubuntu (but i think it > could work even in debian), based on the how-to in gfoss.it wiki.> > This is the url> http://alessio.openmaps.it/drupal-5.1/?q=node/16> > the how-to is written in italian. The site is only a> > > ----- Original Message -----> > *From:* Luca De Felice <mailto:defelice.luca at gmail.com>> > *To:* ka-map-users at lists.maptools.org> > <mailto:ka-map-users at lists.maptools.org>> > *Sent:* Saturday, January 12, 2008 4:35 PM> > *Subject:* ecw imageformat problems> >> > Hi kamappers!> > I need some help from someone because I've implemented a webgis> > with kamap, but when I tried to publish ecw raster image I found> > only blank image in the tiles.> > I know there is some problem with the image format when it is used> > the ecw format, but I thought to fix using "jpeg" format.> > here is the setting in config.php==>> >> > $aszGMap2 = array (> >> > 'title' => 'Dati stazioni di misura',> >> > 'path' => '../../map/dati_stazioni.map',> >> > 'scales' => array(2000000, 1000000, 500000, 100000, 50000, 12000,> > 2000),> >> > 'format' =>'JPEG'> >> > /* Sample authorized_users entry. See auth.php for more details:> >> > * ,'authorized_users' => array('popplace' => array('user1', 'user2'),> >> > * 'park' => array('user1')> >> > */> >> > );> >> > and here is the settting in the mapfile==>> >> > MAP> >> > NAME "dati_stazioni.map"> >> > STATUS ON> >> > EXTENT 550917 4194760 692792 4445675> >> > SIZE 1200 900> >> > IMAGETYPE JPEG> >> > IMAGECOLOR 255 255 255> >> > UNITS METERS> >> > SYMBOLSET "../map/symbol/symbols.sym"> >> > TRANSPARENT ON> >> > WEB> >> > # IMAGEPATH "tmp/ms_tmp/kacache/"> >> > # IMAGEURL "kacache/"> >> > IMAGEPATH "../../../tmp/ms_tmp/"> >> > IMAGEURL "ms_tmp/"> >> > END> >> > LEGEND> >> > STATUS ON> >> > IMAGECOLOR 255 255 255> >> > TRANSPARENT TRUE> >> > POSITION LL> >> > KEYSIZE 20 10> >> > KEYSPACING 5 5> >> > LABEL> >> > TYPE BITMAP> >> > SIZE MEDIUM> >> > OFFSET 0 0> >> > BUFFER 0> >> > MINDISTANCE -1> >> > MINFEATURESIZE -1> >> > COLOR 0 0 0> >> > PARTIALS TRUE> >> > FORCE FALSE> >> > END> >> > END> >> > SCALEBAR> >> > STATUS ON> >> > COLOR 0 0 0> >> > IMAGECOLOR 255 255 255> >> > UNITS MILES> >> > INTERVALS 4> >> > SIZE 200 3> >> > STYLE 0> >> > POSITION LL> >> > LABEL> >> > TYPE BITMAP> >> > SIZE MEDIUM> >> > OFFSET 0 0> >> > BUFFER 0> >> > MINDISTANCE -1> >> > MINFEATURESIZE -1> >> > COLOR 0 0 0> >> > PARTIALS TRUE> >> > FORCE FALSE> >> > END> >> > END> >> > REFERENCE> >> > IMAGE "../data/dtm.jpg"> >> > EXTENT 2470012 4174979 2796449 4460080> >> > SIZE 180 240> >> > STATUS ON> >> > MINBOXSIZE 5> >> > MAXBOXSIZE 100> >> > COLOR 255 0 0> >> > OUTLINECOLOR 0 0 0> >> > MARKERSIZE 8> >> > MARKER 'star'> >> > END #REFERENCE> >> > #OUTPUTFORMAT> >> > # NAME dithered> >> > # DRIVER "GD/PNG"> >> > # EXTENSION "png"> >> > # MIMETYPE "image/png"> >> > # IMAGEMODE RGBA> >> > # TRANSPARENT OFF> >> > # FORMATOPTION "QUANTIZE_FORCE=ON"> >> > # FORMATOPTION "QUANTIZE_DITHER=OFF"> >> > # FORMATOPTION "QUANTIZE_COLORS=256"> >> > #END> >> > # OUTPUTFORMAT> >> > # NAME "PNG24"> >> > # MIMETYPE "image/png"> >> > # DRIVER "GD/PNG24"#> >> > # EXTENSION "png"> >> > # IMAGEMODE RGBA> >> > # TRANSPARENT OFF> >> > # END> >> > OUTPUTFORMAT> >> > NAME "JPEG"> >> > MIMETYPE "image/jpeg"> >> > DRIVER "GD/JPEG"> >> > EXTENSION "jpg"> >> > IMAGEMODE RGB> >> > TRANSPARENT OFF> >> > END> >> > LAYER> >> > GROUP "ORTOFOTO"> >> > NAME "ORTOFOTO"> >> > TYPE raster> >> > STATUS ON> >> > # DATA "C:\ms4w\apps\ka-map-1.0\data\mosaico ortofoto\calabria.ecw"> >> > DATA> > "ecwp://procivecw.protezionecivilecalabria.it/pkt169_ecw/pkt169-72-1.0_Mosaico_Ortofoto_Calabria.ecw"> >> > CLASS> >> > NAME "ORTOFOTO"> >> > END #CLASS> >> > END #LAYER> >> > LAYER> >> > GROUP "CZ"> >> > NAME "PRECISO CZ"> >> > TYPE raster> >> > STATUS OFF> >> > DATA> > "ecwp://procivecw.protezionecivilecalabria.it/pkt169_ecw/IK_RGB_Catanzaro.ecw"> >> > CLASS> >> > NAME "PRECISO CZ"> >> > END #CLASS> >> > END #LAYER> >> > LAYER> >> > GROUP "IGM"> >> > NAME "IGM"> >> > TYPE raster> >> > STATUS OFF> >> > DATA> > "ecwp://procivecw.protezionecivilecalabria.it/pkt169_ecw/Cala_IGM25000.ecw"> >> > CLASS> >> > NAME "IGM"> >> > END #CLASS> >> > END #LAYER> >> > END #MAP> >> > > >> > thank you in advance for any answers> >> > Luca De Felice> >> > ------------------------------------------------------------------------> >> > _______________________________________________> > ka-Map-users mailing list> > ka-Map-users at lists.maptools.org> > http://lists.maptools.org/mailman/listinfo/ka-map-users> > > > > > ------------------------------> > _______________________________________________> ka-Map-users mailing list> ka-Map-users at lists.maptools.org> http://lists.maptools.org/mailman/listinfo/ka-map-users> > > End of ka-Map-users Digest, Vol 33, Issue 8> *******************************************
_________________________________________________________________
MSN Video. 
http://video.msn.com/?mkt=es-es
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/ka-map-users/attachments/20080117/ce8c2d2c/attachment-0001.html


More information about the ka-Map-users mailing list