On Thu, Jan 23, 2014 at 12:45 PM, Damiano Albani
<[email protected]>wrote:

> On Wed, Jan 22, 2014 at 12:37 PM, Andrea Aime <
> [email protected]> wrote:
>
>>
>> Yes, that's an idea. Mind, the "whole area application to reference
>> system" is something that is sometimes not known by GeoServer,
>> and there is no API that you can use to get it, when GeoServer can
>> extract it from the EPSG database.
>> So it would have to be something your application knows instead.
>>
>
> While we're on this topic, have you considered providing a REST interface
> to the EPSG database available to GeoServer?
> There's this "SRS List" page in the "demos" section that resembles what
> I'm talking about.
> Then in my case I would use the field "Area of validity" as the bounding
> box in the case of empty datasources.
>

Yes, considered it, would like to have it me too, but haven't found a
project to work on that needed it so far.


>
> I also would like to come back to what you said initially:
>
> On Tue, Jan 21, 2014 at 5:29 PM, Andrea Aime <[email protected]
> > wrote:
>
>
>> GeoServer does not have a way to dodge the values contained in the
>> headers and do a manual scan.
>>  It would be possible to implement it though, but it would have to be
>> optional, scanning thorough large
>> data sources can take ages (as in hours, and during that time, the admin
>> interface is locked)
>>
>
> I've just discovered that there exists a REST API that provides a
> "recalculate" 
> option<http://docs.geoserver.org/stable/en/user/rest/api/featuretypes.html#recalculate>for
>  vector layers.
> Unfortunately, even fiddling with the various options listed in the doc, I
> haven't been able to trigger the calculation of the bounding box based on
> the actual features.
> Shouldn't it be the proper way to run this "manual scan" that you
> mentioned above?
>

No, it's too expensive, besides the small data set case, so it cannot be a
default behavior.
Given that REST config is a tool for administrators, I would not be against
having an extra option to force the full scan thought. Patches welcomed :-)

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

-------------------------------------------------------
------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to