[Geotools-devel] Reminder: GeoTools / GeoServer meeting at 19:30 UTC on Tuesday

2017-11-27 Thread Ben Caradoc-Davies

GeoTools / GeoServer committee meeting on Skype at 19:30 UTC on Tuesday:
https://www.timeanddate.com/worldclock/fixedtime.html?msg=GeoTools+/+GeoServer+Meeting=2017=11=28=19=30=0=1

--
Ben Caradoc-Davies 
Director
Transient Software Limited 
New Zealand

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
GeoTools-Devel mailing list
GeoTools-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel


[Geotools-devel] Implementing custom nonbinary database commands in new JDBC DataStore

2017-11-27 Thread Travis Brundage
Greetings all,

I've been working on developing a new JDBC DataStore for HP Vertica
databases. Thus far, I seem to be successful in getting a new connection
and ability to import data, but now I've been trying to work on getting the
database's custom commands used by GeoServer. I'm a bit ignorant in how
this works.

Currently, I have a custom FilterToSQL class, VerticaFilterToSQL, which
interprets an "Intersects" filter to write out an ST_Intersects command, in
accordance with the database's specifications. This part makes sense, as it
is a binary spatial operator comparing two geometries.

However, I am attempting to write a custom function called STV_Intersects

(documentation linked - there's actually two versions but my question is
general for both). This function does not simply compare two geometries,
but actually looks at the entire table for intersecting polygons.

The best I have come up with thus far is that perhaps I need to write a
custom visitor, as it does not fall under visitBinarySpatialOperator.

Would anyone have any suggestions or pointers in the right direction for me
regarding how to write a custom function like this?

Cheers,
Travis

-- 
Travis Brundage
Software Engineer | Boundless
tbrund...@boundlessgeo.com
250.888.2820
@boundlessgeo
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
GeoTools-Devel mailing list
GeoTools-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel


Re: [Geotools-devel] [Geoserver-devel] Issue with DataStore wrappers in NewLayerPage

2017-11-27 Thread Mauro Bartolomeoli
Started porting the "wrappers" to GeoTools:
https://github.com/geotools/geotools/pull/1752

Anyone wishing to review?

Mauro


2017-11-22 12:21 GMT+01:00 Mauro Bartolomeoli <
mauro.bartolome...@geo-solutions.it>:

> Hi,
> my only concern in using the sql interface is that both methods in it
> throw SQLException(s). Should we extend it to throw a more
> geotools-friendly exception?
>
> 2017-11-22 10:18 GMT+01:00 Andrea Aime :
>
>> On Wed, Nov 22, 2017 at 9:55 AM, Mauro Bartolomeoli <
>> mauro.bartolome...@geo-solutions.it> wrote:
>>
>>> I created a couple of issues for GT / GS related to this:
>>>
>>> https://osgeo-org.atlassian.net/browse/GEOT-5883
>>> https://osgeo-org.atlassian.net/browse/GEOS-8411
>>>
>>> Is a proposal required for this?
>>>
>>
>> Hum... if we end up using a Java interface for unwrapping and also
>> considering the classes involved
>> have been private business of the security subsystem so far, I personally
>> do not see the need for
>> a proposal. But that's just me :-)
>>
>> Cheers
>> Andrea
>>
>> --
>>
>> 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
>> 
>> 55054  Massarosa
>> 
>> (LU)
>> phone: +39 0584 962313 <+39%200584%20962313>
>> fax: +39 0584 1660272 <+39%200584%20166%200272>
>> mob: +39  339 8844549 <+39%20339%20884%204549>
>>
>> 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.
>>
>>
>
>
> --
>
> Regards,
>
> Mauro Bartolomeoli
>
> ==
> GeoServer Professional Services from the experts! Visit
> http://goo.gl/it488V for more information.
> ==
>
> Dott. Mauro Bartolomeoli
> @mauro_bart
> Technical Lead
>
> GeoSolutions S.A.S.
> Via di Montramito 3/A
> 55054  Massarosa (LU)
> Italy
> phone: +39 0584 962313 <+39%200584%20962313>
> fax:  +39 0584 1660272 <+39%200584%20166%200272>
>
> 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