On Mon, Nov 12, 2012 at 6:23 PM, Justin Deoliveira <[email protected]>wrote:

>
>
> On Mon, Nov 12, 2012 at 2:26 AM, Daniele Romagnoli <
> [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

-------------------------------------------------------
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to