Re: [Geoserver-users] PostGIS column names to GML

2022-08-10 Thread Tõnis Kärdi
/79> for more details. Ian On Wed, 10 Aug 2022, 18:12 Tõnis Kärdi, <mailto:tonis.ka...@gmail.com>> wrote: Hi, just accidentally stumbled upon this today. I might be missing something really obvious but the GML-based output formats for (none of the versions of) WFS

[Geoserver-users] PostGIS column names to GML

2022-08-10 Thread Tõnis Kärdi
Hi, just accidentally stumbled upon this today. I might be missing something really obvious but the GML-based output formats for (none of the versions of) WFS seem to return columns with the names: - name - description while e.g. application/json returns them just fine. Turning up logging

Re: [Geoserver-users] Set a new style (sld file).

2021-08-10 Thread Tõnis Kärdi
Hey, I think some of the filters in the sld are missing a propertyname? e.g: http://www.opengis.net/ogc;> AFFLEUREMENT-EAU so there are no columns to enforce the rule on. All the best, Tõnis On 10.08.21 16:46, celati Laurent wrote: Good afternoon,

Re: [Geoserver-users] PostGIS JNDI

2019-09-01 Thread Tõnis Kärdi
Fabio, some time ago I managed to get it working like described in https://osgeo-org.atlassian.net/projects/GEOS/issues/GEOS-9122 My bad that I still haven't done the PR to get it fixed... :( All the best, Tõnis On 01.09.19 12:48, Mark Prins wrote: Op vr 30 aug. 2019 om 20:57 schreef

Re: [Geoserver-users] INSPIRE Could not acquire data access 'ProtectedSite'

2019-07-15 Thread Tõnis Kärdi
Hi, just a thought here but instead of "hosting" the xsds yourself through http://mySrv/geoserver/www (unless you have made changes to the xsd files) leave the original/official URIs in all your GS config files and then copy-paste the $GEOSERVER_DATA_DIR/app-schema-cache with all its

Re: [Geoserver-users] Update layer keywords programmatically

2019-06-03 Thread Tõnis Kärdi
Hi, I don't know about the REST API but a few years ago for some obscure reason I needed to move a whole bunch of layer definitions from one workspace (id) to another. Cooked a quick python script for that ( https://gist.github.com/tkardi/97ef9bc6b0cde411bfb85feccdb9b7ed). It will not suite your

Re: [Geoserver-users] CQL Filters with LEaflet

2019-02-09 Thread Tõnis Kärdi
> var cities = L.tileLayer.wms('http://localhost:8080/geoserver/ows?', { > layers: 'workspace:cities', > format: 'image/png', > transparent: true, > CQL_FILTER:"city='London'", > }).addTo(map); > > Big thanks for your reply! > > Clif

Re: [Geoserver-users] CQL Filters with LEaflet

2019-02-09 Thread Tõnis Kärdi
A stab in the dark but maybe enclose the value in quotation marks like cql_filter:"city='London'"? All the best, Tõnis Saatja Cliff Patterson Does anyone know if we can use CQL filters with Leaflet with a WMS from > Geoserver (2.14.1)? If so, what is wrong with my Leraflet code below? > >

Re: [Geoserver-users] configuring JNDI for GeoServer on Jetty

2019-01-30 Thread Tõnis Kärdi
Hi all, > These two builds come with a minified Jetty container that lacks a lot of > features [..] Andrea, thanks for the lead! I think I might have found a way (somehow I had missed the start.ini file...), still need to walk it though a couple of times more. > [..] and by extension, the

[Geoserver-users] configuring JNDI for GeoServer on Jetty

2019-01-29 Thread Tõnis Kärdi
Hi, I'm looking for pointers on how to configure JNDI for a GeoServer (2.13.4) standalone install (Jetty) - playing around with postgresql to get an idea how it's supposed to work, but the final goal would be to have data served from SQLServer with an AD user credentials (it should be achievable

Re: [Geoserver-users] Problem with INSPIRE xsd schema

2018-12-14 Thread Tõnis Kärdi
Excellent! :) All the best, Tõnis Kontakt ljacedo () kirjutas kuupäeval R, 14. detsember 2018 kell 12:26: > Yes it is, the elements wihtin OCQL must match database field and it is case > sensitive. > > Thanks for all your help, it works now > ___

Re: [Geoserver-users] Problem with INSPIRE xsd schema

2018-12-14 Thread Tõnis Kärdi
Hey, could this be a lowercase/uppercase issue with fieldnames in the mapping file? ``` Could not find working property accessor for attribute (gml_id) in object ( SimpleFeatureImpl:PROTECTEDSITE_PS=[ SimpleFeatureImpl.Attribute:

Re: [Geoserver-users] Problem with INSPIRE xsd schema

2018-12-12 Thread Tõnis Kärdi
g-email_content=webmail> > <#m_-1260150697762427057_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2> > > On Thu, Dec 6, 2018 at 11:42 AM Tõnis Kärdi wrote: > >> Hey Luis, >> >> some time has passed and I can't remember exactly, but a couple of >> possible pointe

Re: [Geoserver-users] Problem with INSPIRE xsd schema

2018-12-06 Thread Tõnis Kärdi
Hey Luis, some time has passed and I can't remember exactly, but a couple of possible pointers for no-top-element: - you'll need to declare all required xml namespaces in appschema/namespaces - add them as ("secondary" I think they were called) workspaces in the GS data dir aswell. - and watch

Re: [Geoserver-users] SLD dynamic Lable

2018-10-05 Thread Tõnis Kärdi
Hi, what I've used before for generating per-request labels (the client can choose what property should be used for a label) is something in the line of label _ _

Re: [Geoserver-users] Problem displaying range rings

2018-05-31 Thread Tõnis Kärdi
Fawzy, you can do it in your database, as a view, or as a view layer in GeoServer using a combo of st_buildarea(st_curvetoline()) for example: select st_buildarea(st_curvetoline(st_geomfromtext('CIRCULARSTRING(10 50, 60 20, 10 50)',900913))) as a_polygon; will return a polygon. Hope this

Re: [Geoserver-users] Problem displaying range rings

2018-05-30 Thread Tõnis Kärdi
Hi, did you get an answer to this? I think most probably the issue here is that you're styling LineString-type geometries objects as Polygons (i.e fill:#nnn). Cast your linestrings to polygons, that way it should work. All the best, Tõnis 2018-05-24 14:18 GMT+03:00 : > Hi, > I'm trying to

Re: [Geoserver-users] Seeding with custom Gridset

2018-05-21 Thread Tõnis Kärdi
:) no problem. All the best, Tõnis 2018-05-21 10:39 GMT+03:00 Steve Omondi <steve.omo...@ramani.co.ke>: > Now it works. I I can't understand why this was a problem last week. > > Anyway, thanks for your response. > > Kind regards, > Steve Omondi > > On Mon, May 21,

Re: [Geoserver-users] Seeding with custom Gridset

2018-05-21 Thread Tõnis Kärdi
Hi Steve, can you give some more insight into as in what the problem is? There was one case that I was involved with using two custom gridsets (for EPSG:3301 and EPSG:3857) and both of them seeded just fine using GeoServer bin deploy v 2.11, and after upgrade to 2.12.1 aswell. And I had no

Re: [Geoserver-users] How to avoid the icons of point symbolizers overlapping

2017-11-13 Thread Tõnis Kärdi
Sorry for the late reply. Responses inline: 2017-11-09 17:44 GMT+02:00 ZhaoMiao : > Thank you so much for your response, but the icons in your example are > still overlapped with each other when they at the scale 1:9M. > Yes, you're right. I wasn't really bothered about that,

Re: [Geoserver-users] How to avoid the icons of point symbolizers overlapping

2017-11-07 Thread tõnis kärdi
I had the same issue some time ago and ended up using TextSymbolizers instead at smaller scales and PointSymbolizers only at larger scales. You can check for an example over at https://github.com/e-gov/kem-gsavalik/blob/master/src/workspaces/keskkonnainfo/styles/ka.ristipuu.default.sld#L108.

Re: [Geoserver-users] Python scripts as custom Apps or WPS services on GeoServer

2017-09-06 Thread tõnis kärdi
Alex, Daniel, thank you so much for this thread. And I'm going to secretly hijack it with an extra question :) How is jython version switching supposed to happen (offcially)? Is it possible at all? What I tried was (and this is drawn upon the original question by Alex about using python

Re: [Geoserver-users] Python scripts as custom Apps or WPS services on GeoServer

2017-09-05 Thread tõnis kärdi
DATA}\scripts\apps\hello\main.py". When I called the app url via > HTTP as instructed in the documentation, it complained about "unable to find > the module xxx". > > Hope someone could give any clue about it. > > Thanks. > > Cheers, > Alex > > On Tuesday, 5 Sept

Re: [Geoserver-users] Python scripts as custom Apps or WPS services on GeoServer

2017-09-05 Thread tõnis kärdi
equests" python library is not contained in any of the paths > above. So the question is how I can install "requests" so that GeoServer can > use. The official documentation does not offer any clue in this aspect. > > Much appreciated! > > Cheers, > Alex > > &g

Re: [Geoserver-users] Python scripts as custom Apps or WPS services on GeoServer

2017-09-04 Thread tõnis kärdi
Hi Alex, did you check what os.sys.path outputs in a script run by GeoServer? Maybe it's just that requests is not on an importable path? All the best, Tõnis 2017-09-04 4:38 GMT+03:00 Alex Chen via Geoserver-users : > Dear all, > > I am with GeoServer

Re: [Geoserver-users] Different Labels using filter SLD

2017-08-29 Thread tõnis kärdi
Hi, An ogc:Filter goes into the Rule tag (as is partly visible on your screenshot aswell), but you can try this as your label tag: NumRuta 10 NumRuta This get's rendered as a lable if NumRuta >= 10 docs for filter functions:

Re: [Geoserver-users] Different Labels using filter SLD

2017-08-29 Thread tõnis kärdi
Hi 2017-08-29 3:07 GMT+03:00 Hahesa : > Hello everyone > I have a question! I have a rule for different classes of roads, ogc:Filter usually goes straight into a Rule. If you have diferent rules for different road classes, then you can add your label symbolizers to the

Re: [Geoserver-users] response time of WMS 1.3.0 vs WMS 1.x.x

2017-08-25 Thread tõnis kärdi
9.5117497771%2C6646241.970107753 [8] http://localhost:8080/geoserver/test/wms?SERVICE=WMS=1.3.0=GetMap=image%2Fpng=true=puurkaev_4326=point=EPSG%3A3301=768=486=6349387.490053313,320676.1358612784,6646241.970107753,789779.5117497771 All the best, Tõnis 2017-08-25 15:21 GMT+03:00 tõnis kärdi <tonis.

Re: [Geoserver-users] response time of WMS 1.3.0 vs WMS 1.x.x

2017-08-25 Thread tõnis kärdi
://gsavalik.envir.ee/geoserver/eelis/ows?SERVICE=WMS=1.3.0=GetMap=image%2Fpng=true=eelis%3Akr_puurkaev=point=EPSG%3A3301=1432=906=372111.0,6382027.0,738667.0,6614170.0 >> >> So it feels like there is some real issue. >> >> -Jukka Rahkonen- >> >> -Alkuperäinen vi

Re: [Geoserver-users] response time of WMS 1.3.0 vs WMS 1.x.x

2017-08-25 Thread tõnis kärdi
4=1432=906=21.86315456459954,57.56235223472114,28.228449551415157,59.597210385512824 return all in ~2 secs. All the best, tõnis 2017-08-25 13:48 GMT+03:00 tõnis kärdi <tonis.ka...@gmail.com>: > I came upon this just by accident but it seems that GeoServer WMS > GetMap response times for WMS

[Geoserver-users] response time of WMS 1.3.0 vs WMS 1.x.x

2017-08-25 Thread tõnis kärdi
Hello, I came upon this just by accident but it seems that GeoServer WMS GetMap response times for WMS 1.3.0 are longer than those of WMS 1.x. If the number of features to be rendered in the response is small then the difference is not that noticable. But if for example with 20K+ point features