scs-eb commented on issue #3473:
URL: https://github.com/apache/jena/issues/3473#issuecomment-3348621235

   > We use slightly different options than those in the mail [...]
   
   We used the defaults from the documentation.
   I will experiment with the different options mentioned after this post just 
to be sure.
   
   > Perhaps its really an issue when using the default graph [...]
   
   Sorry I didn't mentioned this in the email originally. We are currently 
using the default graph, so it may be possible. 
   I will experiment with a named graph after this post.
   
   > A screencast of the issue and the used query would be helpful.
   
   As requested, I made two screencasts : 
   1. Demonstrating the issue : `jena-spatial-index-rebuild.mp4`
   2. Demonstrating after the restart, everything is fine : 
`jena-spatial-index-rebuild-after-restart.mp4`
   
   
https://github.com/user-attachments/assets/e5465102-01bc-4209-b56e-3eef2e5e3b2c
   
   
https://github.com/user-attachments/assets/d40f2ffc-1d52-402e-bca4-975db73f4a45
   
   I also added the query and the sample data that was used in the videos : 
   
   <details>
   
   <summary>query.rq</summary>
   
   ```sparql
   PREFIX geo: <http://www.opengis.net/ont/geosparql#>
   PREFIX ogcsf: <http://www.opengis.net/ont/sf#>
   
   SELECT *
   WHERE {
     ?s a ogcsf:Point .
     ?s geo:sfWithin <urn:test:geosparql#geoFrance> .
   } 
   ```
   
   </details>
   
   <details>
   
   <summary>data.ttl</summary>
   
   > inspired greatly from : 
https://github.com/zazuko/fuseki-geosparql/blob/main/tests/geosparql/data.nt
   
   ```turtle
   @prefix : <urn:test:geosparql#> .
   @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
   @prefix geo: <http://www.opengis.net/ont/geosparql#> .
   @prefix ogcsf: <http://www.opengis.net/ont/sf#>.
   
   # France (polygon)
   
   ## Feature
   :France a geo:Feature; 
        rdfs:label "France";
        geo:hasGeometry :geoFrance.
   
   ## Geometry
   :geoFrance a ogcsf:Polygon ;
        geo:asWKT "POLYGON((8.24127303627454 
48.97794887560541,5.231019130024541 49.750647190315945,2.440491786274541 
51.14961841626458,1.5176402237745412 50.87313049536895,1.5011607315870412 
50.21336829946772,0.9133921768995412 49.99845644178497,0.21576034096204122 
49.82512350296763,-0.2621449324754588 49.33718921868228,-1.8881214949754588 
49.82157960827845,-2.085875401225459 49.394425976491604,-1.5365589949754588 
48.73217609928656,-3.140562901225459 48.891343313415014,-4.942320713725459 
48.630624713300485,-4.766539463725459 48.07577006394907,-4.371031651225459 
47.75177459783237,-3.096617588725459 47.21722096602976,-1.5805043074754588 
45.61162012205615,-1.7782582137254588 43.60971468750438,-1.8881214949754588 
43.290685000073935,0.19928084877454122 42.61524836026427,0.8145152237745412 
42.7928648459883,2.704163661274541 42.24222710444366,3.253480067524541 
42.420905523667386,3.561097255024541 43.14657273329965,4.659730067524541 
43.08241351640007,6.549378505024541 42.501955158864604,7.20855
 8192524541 42.95389331205366,8.65875350502454 
41.324731196577005,9.66949569252454 41.423662015262664,10.02105819252454 
42.88953234551158,9.31793319252454 43.46635957827632,7.911683192524541 
43.08241351640007,7.516175380024541 43.784463573801766,7.735901942524541 
44.16396575789822,7.054749598774541 44.22698031120467,6.944886317524541 
44.61929440132649,7.098694911274541 44.75988294318899,6.791077723774541 
44.97789792588031,6.725159755024541 45.164110654364634,7.142640223774541 
45.2724545718037,7.208558192524541 45.45770672352913,6.835023036274541 
45.74978203327899,7.054749598774541 45.94874696966964,6.791077723774541 
46.37487002615409,6.285706630024541 46.40518111104491,6.175843348774541 
46.20785813977869,6.044007411274541 46.480885182821844,6.527405848774541 
46.9178949511633,7.054749598774541 47.30669106481971,6.835023036274541 
47.366253803971325,7.076722255024541 47.529704967777825,7.252503505024541 
47.45547195118154,7.604066005024541 47.48517774971194,7.538148036274541 
47.677856266
 38349,7.604066005024541 48.090448939567736,7.845765223774541 
48.58704000495766,8.24127303627454 48.97794887560541))"^^geo:wktLiteral  .
   
   # Strasbourg (point)
   
   ## Feature
   :Strasbourg a geo:Feature; 
        rdfs:label "Strasbourg";
        geo:hasGeometry :geoStrasbourg.
   
   ## Geometry
   :geoStrasbourg a ogcsf:Point ;
        geo:asWKT "POINT(7.7510315861075085 
48.581903974563204)"^^geo:wktLiteral .
   
   # Bern (point)
   
   ## Feature
   :Bern a geo:Feature; 
        rdfs:label "Bern";
        geo:hasGeometry :geoBern.
   
   ## Geometry
   :geoBern a ogcsf:Point ;
        geo:asWKT "POINT(7.448102905878211 46.945410623891554)"^^geo:wktLiteral 
.
   
   ```
   
   </details>
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to