Thanks to the three of you for your responses. Indeed I was quite
confused about the extension table in the documentation and thought, or
should I say hoped, that the GDAL plugin would also extend the list of
allowed extensions for the REST service. As this doesn't seem to be the
case and I can't currently invest into adding such a functionality
(although I would love to), I guess my only option now is to convert the
NITF files to GeoTIFF prior to using the REST service.
Again, thanks for the clarifications!
Kind regards,
Daniel Haferkorn
--
Dipl.-Inform. (FH) Daniel Haferkorn
Fraunhofer Institut für Optronik, Systemtechnik und Bildauswertung IOSB
Abteilung Interoperabilität und Assistenzsysteme IAS
Fraunhoferstraße 1, 76131 Karlsruhe, Germany
Telefon +49 721 6091-431
mailto:[email protected]
http://www.iosb.fraunhofer.de
Am 12.11.2012 18:34, schrieb Andrea Aime:
On Mon, Nov 12, 2012 at 6:23 PM, Justin Deoliveira
<[email protected] <mailto:[email protected]>> wrote:
On Mon, Nov 12, 2012 at 2:26 AM, Daniele Romagnoli
<[email protected]
<mailto:[email protected]>> wrote:
Hello Daniel,
it seems the stores currently supported by Rest are only
GeoTIFF, ImageMosaic and World Image files (Images like [PNG,
JPEG, TIF] + WorldFile + PRJ) :
http://docs.geoserver.org/stable/en/user/restconfig/rest-config-api.html#coverage-stores
(see the extension table).
The NITF dataset is managed by a different format (the GDAL
based one) which I don't think is currently supported by REST.
Hope this helps.
It would be a good improvement though. Rather than hardcode file
extensions to formats we could do it more dynamically by looking
up all available coverage formats.
Indeed, the problem I see is that Format has no way to tell you about
a file extension, mostly
because file extensions are not used at all, normally we open the file
and check the headers
to recognize a file, not look at its name.
One thing format has it's "name", but you would not get an extension,
more something
like "GeoTIFF", "DTED", "ERDASImg" and so on (I don't believe there is
any requirement not to have spaces in the name, although the practice
seems
to be no spaces).
Another issue is being able to tell apart file formats from service
based readers,
such as SDE, Oracle, PostGIS and so on.
One final glitch might be dealing with single file formats vs
multifile formats.
Hmm... lots of fun it seems...
Cheers
Andrea
--
==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for
more information.
==
Ing. Andrea Aime
@geowolf
Technical Lead
GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549
http://www.geo-solutions.it
http://twitter.com/geosolutions_it
-------------------------------------------------------
------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users