Repo fatigue got you down?
Wondering where to file an issue? Start here!
"Exportify" Who's On First documents, as a service.
Building against alpine
always seems to fail building GDAL
but it would be good to get it working because the ubuntu
build is almost 1GB in size.
Save this for a version 1.x
release.
docker run whosonfirst-exportify /usr/local/bin/wof-exportify -h
fails with
docker: Error response from daemon: OCI runtime create failed: container_linux.go:345: starting container process caused "exec: \"/usr/local/bin/wof-exportify\": stat /usr/local/bin/wof-exportify: no such file or directory": unknown.
ERRO[0000] error waiting for container: context canceled
(base) โ docker-whosonfirst-exportify git:(master) make docker
docker build -t whosonfirst-exportify .
Sending build context to Docker daemon 91.65kB
Step 1/9 : FROM alpine:3.7 AS geo
3.7: Pulling from library/alpine
5d20c808ce19: Pull complete
Digest: sha256:8421d9a84432575381bfabd248f1eb56f3aa21d9d7cd2511583c68c9b7511d10
Status: Downloaded newer image for alpine:3.7
---> 6d1ef012b567
Step 2/9 : RUN echo "@edge http://dl-cdn.alpinelinux.org/alpine/edge/main" >> /etc/apk/repositories
---> Running in cc5272e39595
Removing intermediate container cc5272e39595
---> 0849a97244fb
Step 3/9 : RUN echo "@edge-testing http://dl-cdn.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories
---> Running in 471bb1718494
Removing intermediate container 471bb1718494
---> 4c7f2bff7ff0
Step 4/9 : RUN apk update && apk --no-cache --update upgrade && apk add --upgrade --force-overwrite apk-tools@edge && apk add --update --force-overwrite "proj-dev@edge-testing" "geos-dev@edge-testing" "gdal-dev@edge-testing" "gdal@edge-testing" && rm -rf /var/cache/apk/*
---> Running in a0e05979e9a5
fetch http://dl-cdn.alpinelinux.org/alpine/v3.7/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.7/community/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
v3.7.3-180-g5372bc29f3 [http://dl-cdn.alpinelinux.org/alpine/v3.7/main]
v3.7.3-183-gcc9ad2b48d [http://dl-cdn.alpinelinux.org/alpine/v3.7/community]
v3.12.0-995-g0d2125cae5 [http://dl-cdn.alpinelinux.org/alpine/edge/main]
v3.12.0-994-g3d0712a385 [http://dl-cdn.alpinelinux.org/alpine/edge/testing]
OK: 17886 distinct packages available
fetch http://dl-cdn.alpinelinux.org/alpine/v3.7/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.7/community/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
(1/2) Upgrading musl (1.1.18-r3 -> 1.1.18-r4)
(2/2) Upgrading musl-utils (1.1.18-r3 -> 1.1.18-r4)
Executing busybox-1.27.2-r11.trigger
OK: 4 MiB in 13 packages
(1/7) Purging ssl_client (1.27.2-r11)
(2/7) Installing libcrypto1.1@edge (1.1.1g-r0)
WARNING: libcrypto1.1-1.1.1g-r0: overwriting etc/ssl/openssl.cnf owned by libressl2.6-libcrypto-2.6.5-r0.
(3/7) Installing libssl1.1@edge (1.1.1g-r0)
(4/7) Upgrading apk-tools@edge (2.10.1-r0 -> 2.10.5-r1)
(5/7) Purging libressl2.6-libtls (2.6.5-r0)
(6/7) Purging libressl2.6-libssl (2.6.5-r0)
(7/7) Purging libressl2.6-libcrypto (2.6.5-r0)
Executing busybox-1.27.2-r11.trigger
OK: 5 MiB in 11 packages
ERROR: unsatisfiable constraints:
gdal (missing):
required by: world[gdal]
gdal-dev (missing):
required by: world[gdal-dev]
geos-dev (missing):
required by: world[geos-dev]
proj-dev (missing):
required by: world[proj-dev]
The command '/bin/sh -c apk update && apk --no-cache --update upgrade && apk add --upgrade --force-overwrite apk-tools@edge && apk add --update --force-overwrite "proj-dev@edge-testing" "geos-dev@edge-testing" "gdal-dev@edge-testing" "gdal@edge-testing" && rm -rf /var/cache/apk/*' returned a non-zero code: 4
make: *** [docker] Error 4
Also depends on: whosonfirst/whosonfirst-www-exportify#1
geom:area_square_m
is not set using docker wof-exportify-www https://github.com/whosonfirst/docker-whosonfirst-exportify#wof-exportify-www
With a fresh docker image the following error appears when running the tool on a GeoJSON file:
WARNING:root:failed to calculate area in square meters, because Error relocating /usr/lib/libgdal.so.20: _ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev: symbol not found
Using the image I've created 2 months ago it works as expected.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.