Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for dumping POI in GeoJSON format #439

Closed
jpmens opened this issue Jan 24, 2024 · 3 comments
Closed

Add support for dumping POI in GeoJSON format #439

jpmens opened this issue Jan 24, 2024 · 3 comments

Comments

@jpmens
Copy link
Member

jpmens commented Jan 24, 2024

Add GeoJSON POI only support to the API and ocat.

(Invalidates #435)

@jpmens
Copy link
Member Author

jpmens commented Jan 24, 2024

Surfaced via the API and in ocat:

$ ./ocat -u jpm -d 5s --format geojsonpoi --from 2023-12-17 --to 2023-12-21
{
 "type": "FeatureCollection",
 "features": [
  {
   "type": "Feature",
   "geometry": {
    "type": "Point",
    "coordinates": [
     8.572055000000001,
     50.046365
    ]
   },
   "properties": {
    "name": "FRA gate B28, LH498",
    "address": "Terminal 1 Flugsteig B, Ankunftbogen, 60549 Frankfurt, Germany",
    "isotst": "2023-12-17T12:27:43Z"
   }
  },
  {
   "type": "Feature",
   "geometry": {
    "type": "Point",
    "coordinates": [
     -96.717023,
     17.065921
    ]
   },
   "properties": {
    "name": "Oaxaca, hotel Los Pilares",
    "address": "Los Pilares, C las Curtidurías 721-A, Colonia América Norte, 68080 Oaxaca, OAX, Mexico",
    "isotst": "2023-12-20T02:43:42Z"
   }
  },
  {
   "type": "Feature",
   "geometry": {
    "type": "Point",
    "coordinates": [
     -96.724276,
     17.062621
    ]
   },
   "properties": {
    "name": "café Brujula; Pepe Limón",
    "address": "Monte de Piedad, Avda de José María Morelos 703, Oaxaca de Juárez, 68000 Oaxaca de Juárez, OAX, Mexico",
    "isotst": "2023-12-20T19:50:55Z"
   }
  }
 ]
}

@jpmens
Copy link
Member Author

jpmens commented Jan 24, 2024

Imported into https://umap.openstreetmap.de/en:

rabbit-10642

jpmens added a commit that referenced this issue Jan 24, 2024
@jpmens
Copy link
Member Author

jpmens commented Feb 3, 2024

Completed.

@jpmens jpmens closed this as completed Feb 3, 2024
jpmens added a commit that referenced this issue Feb 6, 2024
- FIX: Tour data (requests and submissions) contain corrupt data in .rec file
b/c of pretty-printing (#437)
- UPD: Change permissions (+r) on binaries (#428)
- NEW: Add support for dumping POI in GeoJSON format (#439)
- FIX: create {static,utils}/index.html to avoid directory listing
- FIX: remove HikeBike layer (and control) from views (#442)
- UPD: Autoload track in Recorder views / tours (#441)
- NEW: Optionally enhance API data with timezone at location's position (#444)
- UPD: locations API returns Recorder version number alongside count/status
- NEW: add experimental utility with which to enhance ghash/ with tzdata
- UPD: location and tzname are stored in ghash cache only if they're non-null
- UPD: Reduce default size of LMDB to 5368709120 (5GB); it can be configured via environment
- UPD: Improve gcache error handling
- FIX: Add missing OTR_HTTPPREFIX to ot-defaults (#440)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant