Re: [mapserver-users] combine many georeferenced tifs in one layer

2008-03-10 Thread Bart van den Eijnden (OSGIS)
You need to create a tileindex using gdaltindex, and then reference that
tileindex in your layer.

See the RASTER HOWTO for details, chapter 4:

http://mapserver.gis.umn.edu/docs/howto/raster_data

Best regards,
Bart

--
Bart van den Eijnden
OSGIS, Open Source GIS
http://www.osgis.nl


- Oorspronkelijk bericht 
Van: [EMAIL PROTECTED]
Naar: mapserver-users@lists.osgeo.org 
Onderwerp: [mapserver-users] combine many georeferenced tifs in one layer
Datum: 10/03/08 08:45

> Hello everyone!
> 
> I'm just getting started with Mapserver and have worked my way through
> the tutorial made by Pericles S. Nacionales. Now I have started to work
> on my own mapserver application but am experiencing some problems. 
> 
> I have a shapefile of my hometown which I use as the background layer.
> Now I want to add Raster Data, I have 50 georeferenced tif tiles of the
> area. I could add them in an own layer each but I would rather like all
> these tiffs to be in one layer. Is there a way to tell mapserver to use
> all tiffs in a folder for a layer? If not, what would be the best way to
> combine these tiffs into one big image?
> 
> I hope you can help me out :)
> 
> Best Regards 
> Janosch
> 
>

> 
> Diese E-Mail kann vertrauliche und/oder rechtlich geschützte Informationen
enthalten. 
> Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich
erhalten haben, 
> informieren Sie bitte sofort den Absender und vernichten Sie diese E-Mail.
Das unerlaubte 
> Kopieren sowie die unbefugte Weitergabe dieser E-Mail ist nicht gestattet.
Der 
> rechtsverbindliche elektronische Schriftverkehr mit der Stadt Trier ist
über diese 
> E-Mail-Adresse derzeit noch nicht möglich.
> 
>

> 
> ___
> mapserver-users mailing list
> mapserver-users@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
> 
> 



___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


RE: [mapserver-users] combine many georeferenced tifs in one layer

2008-03-10 Thread Janosch.Skrobek
Thanks a lot Bart and you too Till!

I had some troubles with the wildcards (*.tif) since the gdaltindex binary from 
gdal.org doesn't seem to support them - although it says so in the manual. I 
googled a bit and found fwtools which have gdaltindex implemented as well and 
here the wildcards work. 

But just as I thought I get follow-up problems :)
1) gdaltindex puts out a warning when processing my tiffs:
Warning 1:TIFFFetNormalTag:ASCII value for tag "copyright" contains null byte 
in value; value incorrectly truncated during reading due to implementation 
limitations

But luckily that doesn't seem to influence the result. Still I would like to 
know what it is trying to tell me and google doesn't know :)

2) when loading the layer it takes at least 20seconds for mapserver to show it. 
I understand it is because of big amount of data? (50files, all in all 40MB) Is 
there any way to speed this up?

Thank you very much for your help!

Janosch



-Ursprüngliche Nachricht-
Von: Bart van den Eijnden (OSGIS) [mailto:[EMAIL PROTECTED] 
Gesendet: Montag, 10. März 2008 11:49
An: Skrobek, Janosch; mapserver-users@lists.osgeo.org
Betreff: Re: [mapserver-users] combine many georeferenced tifs in one layer

You need to create a tileindex using gdaltindex, and then reference that
tileindex in your layer.

See the RASTER HOWTO for details, chapter 4:

http://mapserver.gis.umn.edu/docs/howto/raster_data

Best regards,
Bart

--
Bart van den Eijnden
OSGIS, Open Source GIS
http://www.osgis.nl


- Oorspronkelijk bericht 
Van: [EMAIL PROTECTED]
Naar: mapserver-users@lists.osgeo.org 
Onderwerp: [mapserver-users] combine many georeferenced tifs in one layer
Datum: 10/03/08 08:45

> Hello everyone!
> 
> I'm just getting started with Mapserver and have worked my way through
> the tutorial made by Pericles S. Nacionales. Now I have started to work
> on my own mapserver application but am experiencing some problems. 
> 
> I have a shapefile of my hometown which I use as the background layer.
> Now I want to add Raster Data, I have 50 georeferenced tif tiles of the
> area. I could add them in an own layer each but I would rather like all
> these tiffs to be in one layer. Is there a way to tell mapserver to use
> all tiffs in a folder for a layer? If not, what would be the best way to
> combine these tiffs into one big image?
> 
> I hope you can help me out :)
> 
> Best Regards 
> Janosch
> 
>

> 
> Diese E-Mail kann vertrauliche und/oder rechtlich geschützte Informationen
enthalten. 
> Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich
erhalten haben, 
> informieren Sie bitte sofort den Absender und vernichten Sie diese E-Mail.
Das unerlaubte 
> Kopieren sowie die unbefugte Weitergabe dieser E-Mail ist nicht gestattet.
Der 
> rechtsverbindliche elektronische Schriftverkehr mit der Stadt Trier ist
über diese 
> E-Mail-Adresse derzeit noch nicht möglich.
> 
>

> 
> ___
> mapserver-users mailing list
> mapserver-users@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
> 
> 






Diese E-Mail kann vertrauliche und/oder rechtlich geschützte Informationen 
enthalten.
Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten 
haben,
informieren Sie bitte sofort den Absender und vernichten Sie diese E-Mail. Das 
unerlaubte
Kopieren sowie die unbefugte Weitergabe dieser E-Mail ist nicht gestattet. Der
rechtsverbindliche elektronische Schriftverkehr mit der Stadt Trier ist über 
diese
E-Mail-Adresse derzeit noch nicht möglich.



___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


RE: [mapserver-users] combine many georeferenced tifs in one layer

2008-03-10 Thread Bart van den Eijnden (OSGIS)
You can do the following things to speed up performance:

* create a spatial index on your tileindex shapefile with shptree (also make
sure you reference your TILEINDEX in the MAP file without the .shp suffix)

* create overviews in the tiff files using gdaladdo

Best regards,
Bart

--
Bart van den Eijnden
OSGIS, Open Source GIS
http://www.osgis.nl


- Oorspronkelijk bericht 
Van: [EMAIL PROTECTED]
Naar: mapserver-users@lists.osgeo.org 
Onderwerp: RE: [mapserver-users] combine many georeferenced tifs in one
layer
Datum: 10/03/08 10:51

> Thanks a lot Bart and you too Till!
> 
> I had some troubles with the wildcards (*.tif) since the gdaltindex binary
from gdal.org doesn't seem to support them - although it says so in the
manual. I googled a bit and found fwtools which have gdaltindex implemented
as well and here the wildcards work. 
> 
> But just as I thought I get follow-up problems :)
> 1) gdaltindex puts out a warning when processing my tiffs:
> Warning 1:TIFFFetNormalTag:ASCII value for tag "copyright"
contains null byte in value; value incorrectly truncated during reading due
to implementation limitations
> 
> But luckily that doesn't seem to influence the result. Still I would like
to know what it is trying to tell me and google doesn't know :)
> 
> 2) when loading the layer it takes at least 20seconds for mapserver to
show it. I understand it is because of big amount of data? (50files, all in
all 40MB) Is there any way to speed this up?
> 
> Thank you very much for your help!
> 
> Janosch
> 
> 
> 
> -Ursprüngliche Nachricht-
> Von: Bart van den Eijnden (OSGIS) [mailto:[EMAIL PROTECTED] 
> Gesendet: Montag, 10. März 2008 11:49
> An: Skrobek, Janosch; mapserver-users@lists.osgeo.org
> Betreff: Re: [mapserver-users] combine many georeferenced tifs in one
layer
> 
> You need to create a tileindex using gdaltindex, and then reference that
> tileindex in your layer.
> 
> See the RASTER HOWTO for details, chapter 4:
> 
> http://mapserver.gis.umn.edu/docs/howto/raster_data
> 
> Best regards,
> Bart
> 
> --
> Bart van den Eijnden
> OSGIS, Open Source GIS
> http://www.osgis.nl
> 
> 
> - Oorspronkelijk bericht 
> Van: [EMAIL PROTECTED]
> Naar: mapserver-users@lists.osgeo.org
<mapserver-users@lists.osgeo.org>
> Onderwerp: [mapserver-users] combine many georeferenced tifs in one layer
> Datum: 10/03/08 08:45
> 
> > Hello everyone!
> > 
> > I'm just getting started with Mapserver and have worked my way
through
> > the tutorial made by Pericles S. Nacionales. Now I have started to
work
> > on my own mapserver application but am experiencing some problems. 
> > 
> > I have a shapefile of my hometown which I use as the background
layer.
> > Now I want to add Raster Data, I have 50 georeferenced tif tiles of
the
> > area. I could add them in an own layer each but I would rather like
all
> > these tiffs to be in one layer. Is there a way to tell mapserver to
use
> > all tiffs in a folder for a layer? If not, what would be the best way
to
> > combine these tiffs into one big image?
> > 
> > I hope you can help me out :)
> > 
> > Best Regards 
> > Janosch
> > 
> >
>

> > 
> > Diese E-Mail kann vertrauliche und/oder rechtlich geschützte
Informationen
> enthalten. 
> > Wenn Sie nicht der richtige Adressat sind oder diese E-Mail
irrtümlich
> erhalten haben, 
> > informieren Sie bitte sofort den Absender und vernichten Sie diese
E-Mail.
> Das unerlaubte 
> > Kopieren sowie die unbefugte Weitergabe dieser E-Mail ist nicht
gestattet.
> Der 
> > rechtsverbindliche elektronische Schriftverkehr mit der Stadt Trier
ist
> über diese 
> > E-Mail-Adresse derzeit noch nicht möglich.
> > 
> >
>

> > 
> > ___
> > mapserver-users mailing list
> > mapserver-users@lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/mapserver-users
> > 
> > 
> 
> 
> 
> 
>

> 
> Diese E-Mail kann vertrauliche und/oder rechtlich geschützte Informationen
enthalten. 
> Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich
erhalten haben, 
> informieren Sie bitte sofort den Absender und vernichten Sie diese E-Mail.
Das unerlaubte 
> Kopieren sowie die unbefugte Weitergabe dieser E-Mail ist nicht gestattet.
Der 
> rechtsverbindliche elektronische Schriftverkehr mit der Stadt Trier ist
übe

Re: [mapserver-users] combine many georeferenced tifs in one layer

2008-03-10 Thread Mike Meier

Hi Bart,

why without .shp suffix? I don't find this hint at the Mapfile reference 
or in a Trac Ticket.


Greetings
Mike

Bart van den Eijnden (OSGIS) schrieb:

You can do the following things to speed up performance:

* create a spatial index on your tileindex shapefile with shptree (also make
sure you reference your TILEINDEX in the MAP file without the .shp suffix)

* create overviews in the tiff files using gdaladdo

Best regards,
Bart

--
Bart van den Eijnden
OSGIS, Open Source GIS
http://www.osgis.nl


- Oorspronkelijk bericht 
Van: [EMAIL PROTECTED]
Naar: mapserver-users@lists.osgeo.org 
Onderwerp: RE: [mapserver-users] combine many georeferenced tifs in one
layer
Datum: 10/03/08 10:51

  

Thanks a lot Bart and you too Till!

I had some troubles with the wildcards (*.tif) since the gdaltindex binary


from gdal.org doesn't seem to support them - although it says so in the
manual. I googled a bit and found fwtools which have gdaltindex implemented
as well and here the wildcards work. 
  

But just as I thought I get follow-up problems :)
1) gdaltindex puts out a warning when processing my tiffs:
Warning 1:TIFFFetNormalTag:ASCII value for tag "copyright"


contains null byte in value; value incorrectly truncated during reading due
to implementation limitations
  

But luckily that doesn't seem to influence the result. Still I would like


to know what it is trying to tell me and google doesn't know :)
  

2) when loading the layer it takes at least 20seconds for mapserver to


show it. I understand it is because of big amount of data? (50files, all in
all 40MB) Is there any way to speed this up?
  

Thank you very much for your help!

Janosch



-Ursprüngliche Nachricht-
Von: Bart van den Eijnden (OSGIS) [mailto:[EMAIL PROTECTED] 
Gesendet: Montag, 10. März 2008 11:49

An: Skrobek, Janosch; mapserver-users@lists.osgeo.org
Betreff: Re: [mapserver-users] combine many georeferenced tifs in one


layer
  

You need to create a tileindex using gdaltindex, and then reference that
tileindex in your layer.

See the RASTER HOWTO for details, chapter 4:

http://mapserver.gis.umn.edu/docs/howto/raster_data

Best regards,
Bart

--
Bart van den Eijnden
OSGIS, Open Source GIS
http://www.osgis.nl


- Oorspronkelijk bericht 
Van: [EMAIL PROTECTED]
Naar: mapserver-users@lists.osgeo.org


<mapserver-users@lists.osgeo.org>
  

Onderwerp: [mapserver-users] combine many georeferenced tifs in one layer
Datum: 10/03/08 08:45

> Hello everyone!
> 
> I'm just getting started with Mapserver and have worked my way


through
  

> the tutorial made by Pericles S. Nacionales. Now I have started to


work
  
> on my own mapserver application but am experiencing some problems. 
> 
> I have a shapefile of my hometown which I use as the background


layer.
  

> Now I want to add Raster Data, I have 50 georeferenced tif tiles of


the
  

> area. I could add them in an own layer each but I would rather like


all
  

> these tiffs to be in one layer. Is there a way to tell mapserver to


use
  

> all tiffs in a folder for a layer? If not, what would be the best way


to
  

> combine these tiffs into one big image?
> 
> I hope you can help me out :)
> 
> Best Regards 
> Janosch
> 
>





  
> 
> Diese E-Mail kann vertrauliche und/oder rechtlich geschützte


Informationen
  
enthalten. 
> Wenn Sie nicht der richtige Adressat sind oder diese E-Mail


irrtümlich
  
erhalten haben, 
> informieren Sie bitte sofort den Absender und vernichten Sie diese


E-Mail.
  
Das unerlaubte 
> Kopieren sowie die unbefugte Weitergabe dieser E-Mail ist nicht


gestattet.
  
Der 
> rechtsverbindliche elektronische Schriftverkehr mit der Stadt Trier


ist
  
über diese 
> E-Mail-Adresse derzeit noch nicht möglich.
> 
>





  
> 
> ___

> mapserver-users mailing list
> mapserver-users@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
> 
> 









  

Diese E-Mail kann vertrauliche und/oder rechtlich geschützte Informationen

enthalten. 
  

Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich

erhalten haben, 
  

informieren Sie bitte sofort den Absender und vernichten Sie diese E-Mail.

Das unerlaubte 
  

Kopieren sowie die unbefugte Weitergabe dieser E-Mail ist nicht gestattet.

Der 
  

rechtsverbindliche elektronische Schriftverkehr mit der Stadt Trier ist

über diese 
  

E-Mail-Adresse derzeit noch nicht möglich.




--

Re: [mapserver-users] combine many georeferenced tifs in one layer

2008-03-10 Thread Guillaume Sueur
not using the suffix causes mapserver to look for .shp and .qix which is 
the quadtree index file. Using .shp suffix causes mapserver looking for 
foo.shp.qix and not finding it, and not using your foo.qix


Guillaume

Mike Meier a écrit :

Hi Bart,

why without .shp suffix? I don't find this hint at the Mapfile reference 
or in a Trac Ticket.


Greetings
Mike

Bart van den Eijnden (OSGIS) schrieb:

You can do the following things to speed up performance:

* create a spatial index on your tileindex shapefile with shptree 
(also make
sure you reference your TILEINDEX in the MAP file without the .shp 
suffix)


* create overviews in the tiff files using gdaladdo

Best regards,
Bart

--
Bart van den Eijnden
OSGIS, Open Source GIS
http://www.osgis.nl


- Oorspronkelijk bericht 
Van: [EMAIL PROTECTED]
Naar: mapserver-users@lists.osgeo.org 
Onderwerp: RE: [mapserver-users] combine many georeferenced tifs in one
layer
Datum: 10/03/08 10:51

 

Thanks a lot Bart and you too Till!

I had some troubles with the wildcards (*.tif) since the gdaltindex 
binary


from gdal.org doesn't seem to support them - although it says so in the
manual. I googled a bit and found fwtools which have gdaltindex 
implemented
as well and here the wildcards work.  

But just as I thought I get follow-up problems :)
1) gdaltindex puts out a warning when processing my tiffs:
Warning 1:TIFFFetNormalTag:ASCII value for tag "copyright"

contains null byte in value; value incorrectly truncated during 
reading due

to implementation limitations
 
But luckily that doesn't seem to influence the result. Still I would 
like


to know what it is trying to tell me and google doesn't know :)
 

2) when loading the layer it takes at least 20seconds for mapserver to

show it. I understand it is because of big amount of data? (50files, 
all in

all 40MB) Is there any way to speed this up?
 

Thank you very much for your help!

Janosch



-Ursprüngliche Nachricht-
Von: Bart van den Eijnden (OSGIS) [mailto:[EMAIL PROTECTED] Gesendet: 
Montag, 10. März 2008 11:49

An: Skrobek, Janosch; mapserver-users@lists.osgeo.org
Betreff: Re: [mapserver-users] combine many georeferenced tifs in one


layer
 

You need to create a tileindex using gdaltindex, and then reference that
tileindex in your layer.

See the RASTER HOWTO for details, chapter 4:

http://mapserver.gis.umn.edu/docs/howto/raster_data

Best regards,
Bart

--
Bart van den Eijnden
OSGIS, Open Source GIS
http://www.osgis.nl


- Oorspronkelijk bericht 
Van: [EMAIL PROTECTED]
Naar: mapserver-users@lists.osgeo.org


<mapserver-users@lists.osgeo.org>
 
Onderwerp: [mapserver-users] combine many georeferenced tifs in one 
layer

Datum: 10/03/08 08:45

> Hello everyone!
> > I'm just getting started with Mapserver and have worked my way


through
 

> the tutorial made by Pericles S. Nacionales. Now I have started to


work
 
> on my own mapserver application but am experiencing some 
problems. > > I have a shapefile of my hometown which I use as 
the background


layer.
 

> Now I want to add Raster Data, I have 50 georeferenced tif tiles of


the
 

> area. I could add them in an own layer each but I would rather like


all
 

> these tiffs to be in one layer. Is there a way to tell mapserver to


use
 
> all tiffs in a folder for a layer? If not, what would be the 
best way


to
 

> combine these tiffs into one big image?
> > I hope you can help me out :)
> > Best Regards > Janosch
> >


 

 

> > Diese E-Mail kann vertrauliche und/oder rechtlich geschützte


Informationen
 
enthalten. > Wenn Sie nicht der richtige Adressat sind oder diese 
E-Mail


irrtümlich
 
erhalten haben, > informieren Sie bitte sofort den Absender und 
vernichten Sie diese


E-Mail.
 
Das unerlaubte > Kopieren sowie die unbefugte Weitergabe dieser 
E-Mail ist nicht


gestattet.
 
Der > rechtsverbindliche elektronische Schriftverkehr mit der 
Stadt Trier


ist
 

über diese > E-Mail-Adresse derzeit noch nicht möglich.
> >


 

 

> > ___
> mapserver-users mailing list
> mapserver-users@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
> >





 

 
Diese E-Mail kann vertrauliche und/oder rechtlich geschützte 
Informationen

enthalten.  

Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich

erhalten haben,  
informieren Sie bitte sofort den Absender und vernichten Sie diese 
E-Mail.

Das unerlaubte  
Kopieren sowie die unbefugte Weitergabe