Yes i seperatly has that idea and have updated the proposals, now that I am
reading email I see you are ahead of me :)
On Fri, Mar 23, 2018 at 12:00 PM Andrea Aime <andrea.a...@geo-solutions.it>
wrote:
> Hi Jody,
> wouldn't it be simpler to just add a default method to the existing
> interface?
>
> Cheers
> Andrea
>
> On Fri, Mar 23, 2018 at 11:40 AM, Jody Garnett <jody.garn...@gmail.com>
> wrote:
>
>> We had a chance to write up a proposal for GeoTools - to introduce
>> ResourceInfo2.getStyles():
>>
>> - https://github.com/geotools/geotools/wiki/ResourceInfo2-with-Style
>>
>> I think allowing DataStore developers to control the presentation of
>> their "native" styles is worth while.
>>
>> On Thu, Mar 22, 2018 at 9:44 AM Richard Duivenvoorde <rdmaili...@duif.net>
>> wrote:
>>
>>> On 22-03-18 02:59, Jody Garnett wrote:
>>> > We have a similar need with shape files, the presence of a sidecar SLD
>>> > file is great way to pass styling around.
>>> >
>>> > At a GeoTools level I would love a way to "discover" a built-in style
>>> > for a layer so we could make it available for either a) GeoServer Data
>>> > Import (sadly that would just be a one time solution), or see we could
>>> > make a placeholder in the LayerInfo (maybe with a special default style
>>> > placeholder.
>>> >
>>> >
>>> > GeoTools does have a per layer "info" data structure used to pass meta
>>> > information on to the application, we could see about making the style
>>> > available in this manner.
>>>
>>> Hi Jody,
>>>
>>> about sidecar SLD: if I'm correct esri products used a lyr file next to
>>> a shapefile automatically if it had the exact same name.
>>> QGIS is doing the same when you have a .qml (QGIS stylefile) with the
>>> same name.
>>> Unfortunatly that does not work (yet) with sld files (in QGIS), but it
>>> could be a usable model... if you want to keep working with shapefiles
>>> ;-)
>>>
>>> In case of Geopackage/Spatialite I would think a 'packaged' style could
>>> be favoured over sld styles in Geoserver? Indeed it would be best if
>>> GeoTools could serve this information.
>>>
>>> Regards,
>>>
>>> Richard Duivenvoorde
>>>
>>
>>
>> ------------------------------------------------------------------------------
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>> _______________________________________________
>> Geoserver-devel mailing list
>> Geoserver-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/geoserver-devel
>>
>>
>
>
> --
>
> Regards,
>
> Andrea Aime
>
> ==
> GeoServer Professional Services from the experts! Visit
> http://goo.gl/it488V for more information.
> ==
>
> Ing. Andrea Aime
> @geowolf
> Technical Lead
>
> GeoSolutions S.A.S.
> Via di Montramito 3/A
> <https://maps.google.com/?q=Via+di+Montramito+3/A+55054+%C2%A0Massarosa&entry=gmail&source=g>
> 55054 Massarosa
> <https://maps.google.com/?q=Via+di+Montramito+3/A+55054+%C2%A0Massarosa&entry=gmail&source=g>
> (LU)
> phone: +39 0584 962313
> fax: +39 0584 1660272
> mob: +39 339 8844549
>
> http://www.geo-solutions.it
> http://twitter.com/geosolutions_it
>
> AVVERTENZE AI SENSI DEL D.Lgs. 196/2003
>
> Le informazioni contenute in questo messaggio di posta elettronica e/o
> nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il
> loro utilizzo è consentito esclusivamente al destinatario del messaggio,
> per le finalità indicate nel messaggio stesso. Qualora riceviate questo
> messaggio senza esserne il destinatario, Vi preghiamo cortesemente di
> darcene notizia via e-mail e di procedere alla distruzione del messaggio
> stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso,
> divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od
> utilizzarlo per finalità diverse, costituisce comportamento contrario ai
> principi dettati dal D.Lgs. 196/2003.
>
> The information in this message and/or attachments, is intended solely for
> the attention and use of the named addressee(s) and may be confidential or
> proprietary in nature or covered by the provisions of privacy act
> (Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
> Code).Any use not in accord with its purpose, any disclosure, reproduction,
> copying, distribution, or either dissemination, either whole or partial, is
> strictly forbidden except previous formal approval of the named
> addressee(s). If you are not the intended recipient, please contact
> immediately the sender by telephone, fax or e-mail and delete the
> information in this message that has been received in error. The sender
> does not give any warranty or accept liability as the content, accuracy or
> completeness of sent messages and accepts no responsibility for changes
> made after they were sent or for other risks which arise as a result of
> e-mail transmission, viruses, etc.
>
> --
--
Jody Garnett
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel