Questions tagged [elasticsearch]

Elasticsearch is a distributed, open source search and analytics engine.

Filter by
Sorted by
Tagged with
0 votes
0 answers
74 views

Is a multiply nested GeoJSON still valid GeoJSON and can it be displayed by LeafLet.js?

Is this a valid GeoJSON? Can it be displayed using LeafLet GeoJSON Layer? "geometry": { "coordinates": [{ "coordinates": [{ "type": &...
user avatar
2 votes
0 answers
53 views

Transfer data with 'geometry' to Elasticsearch

I would like to transfer my data which contains 'geometry' to Elasticsearch but I don't know how to change my 'body'. 'geometry' is the last column. What should I change? Code: es = Elasticsearch() ...
user avatar
1 vote
0 answers
121 views

Passing track_total_hits Param via WFS Query through GeoServer to ElasticSearch Backend

We are executing WFS 1.1.0 based queries via a GeoServer instance (2.18) backed by an ElasticSearch datastore (v7.x - not sure of the specific version), and are looking to retrieve an accurate Hit ...
user avatar
  • 11
1 vote
0 answers
71 views

Elasticsearch polygonize TIFF map

I am having an heavy TIFF map around 2Go and I want to index it in ES in order to geolocate data of this file. With GDAL, I could polygonize only a part of it in GeoJSON, but seems that big polygons ...
user avatar
  • 11
1 vote
0 answers
62 views

How to size clusters on a map using js

I have clusters containing population counts in a mapbox-gl map. The cluster data is based on geohash aggregations from elasticsearch. I am having trouble sizing the diameter of my clusters. They ...
user avatar
  • 403
0 votes
1 answer
10k views

"AttributeError: 'NoneType' object has no attribute 'fetchall'" loading data to Elastisearch

I want to load data from PostgreSQL to Elasticsearch and I write below code, but it gives me the error in for loop, my code is as below: from elasticsearch import Elasticsearch #res = requests.get('...
user avatar
1 vote
0 answers
63 views

GDAL python package with Anaconda and ElasticSearch 7 [closed]

I'm trying to import feature data into elasticsearch v7.4 using GDAL to convert from an ArcGIS feature service layer into geoJSON for indexing. We use anaconda 3 (latest version 2019.10) for our ...
user avatar
  • 11
0 votes
1 answer
837 views

Geocoding addresses including address cleaning and validation

I am tasked with building a geocoder (and in the long term reverse geocoder) from a local data I own. Since I am new to this and literature is relatively scarce, I would like to know what are some ...
user avatar
3 votes
1 answer
2k views

Better performance for geohash aggregation with PostGIS

I'm using the GeoNames (https://www.geonames.org/) dataset and want to aggregate the points in geohash of a specific precision. Beforehand I'm filtering with an bbox. So this is the query I came up ...
user avatar
  • 105
0 votes
0 answers
27 views

Parsing text in feature class attachments

Is there any way to parse text in feature class attachments using ArcGIS Desktop? I have a feature class with ~60,000 features, all of which have an associated .pdf file. I would like to query the ...
user avatar
1 vote
0 answers
596 views

Provided shape has duplicate consecutive coordinates at: (-87.2576, 90.0, NaN) [closed]

I get the following error when I send POST request to GeoServer. This error occurs only with particular layer. Other layers work fine. <?xml version="1.0"?> <ServiceExceptionReport version="...
user avatar
2 votes
1 answer
455 views

Geoserver Point-to-Line Aggregation possible?

I'm trying to use Geoserver to serve a WMS displaying lines instead of points, but without changing the underlying data structure. Currently I'm displaying the data as simple points, which works fine. ...
user avatar
  • 21
10 votes
1 answer
6k views

Calculating Optimal Geohash Precision from Bounding Box

I'm using Elasticsearch's GeoHash grid Aggregation to plot clusters on a map (using Leaflet). I understand that for larger areas a lower precision setting should be used to limit the number of buckets ...
user avatar
  • 103
1 vote
0 answers
393 views

Get grid area from geographic coordinates

I have a list of geo coordinates. What I want is a list of grid areas and a number of geographic points in that area. By doing this I can get the information in which areas in the world the most ...
user avatar
1 vote
2 answers
2k views

Elasticsearch datastore for GeoServer

When searching for a possibility to use an Elasticsearch data store as a data source in GeoServer, I found this inofficial plugin. Its documentation states that you have to clone the Git repository ...
user avatar
  • 1,719
1 vote
1 answer
275 views

ElasticSearch behaving different between cities

I'm experiencing some very strange behavior from Elasticsearch. I am using geo_bounding_box to search the area visible in Google Maps. I have data in New York and San Fransisco. New York behaves as ...
user avatar
2 votes
2 answers
3k views

Geocoding on OSM shapefiles via Elasticsearch

I want to get a geocoding system based on OSM data and Elasticsearch engine. I've tried some projects like komoot\photon, but, as I'm a really newbie in this, I stuck on preparing of the data for my ...
user avatar
4 votes
1 answer
4k views

Points of LinearRing do not form a closed linestring - one point intersection

I'm trying to index geojson data using elasticsearch. There is some kind of polygons that causing an error: "Points of LinearRing do not form a closed linestring". Looks like it happens because ...
user avatar
2 votes
1 answer
2k views

Converting OpenStreetMaps PBF to geojson with geocoding

I am able to convert PBF to geojson, but I lack the additional attributes like state, country, city, suburb, type of business etc which is offered by geocoding service like Nominatim. The geojson ...
user avatar
  • 23
5 votes
3 answers
1k views

FME and elasticsearch

We are developing a system to disseminate information about roadkills. The source data comes from three different databases. We have set up a FME project which pulls geojson from the source databases, ...
user avatar
  • 3,133