mirror of
https://github.com/zhigang1992/actions.git
synced 2026-01-12 17:12:24 +08:00
Fix PR issues
This commit is contained in:
@@ -17,8 +17,7 @@ libc-dev \
|
||||
geos-dev \
|
||||
curl
|
||||
|
||||
COPY requirements.txt /
|
||||
RUN pip install -r /requirements.txt
|
||||
RUN pip install geojson shapely
|
||||
|
||||
COPY geojson2csv.py /usr/bin/geojson2csv
|
||||
RUN chmod +x /usr/bin/geojson2csv
|
||||
|
||||
@@ -1,2 +0,0 @@
|
||||
geojson
|
||||
shapely
|
||||
@@ -1,10 +0,0 @@
|
||||
{
|
||||
"type": "FeatureCollection",
|
||||
"name": "samples",
|
||||
"crs": { "type": "name", "properties": { "name": "urn:ogc:def:crs:OGC:1.3:CRS84" } },
|
||||
"features": [
|
||||
{ "type": "Feature", "properties": { "Feature 1": 1, "Feature 2": "AAA" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -122.291400058607934, 37.749843712357368 ], [ -122.341812276949355, 37.737194828482615 ], [ -122.324947098449684, 37.67926660667937 ], [ -122.252536821195633, 37.680733143940216 ], [ -122.291400058607934, 37.749843712357368 ] ] ] } },
|
||||
{ "type": "Feature", "properties": { "Feature 1": 2, "Feature 2": "B" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -122.605788983900837, 37.747827223623695 ], [ -122.65858432529113, 37.683299584146667 ], [ -122.519996554141599, 37.656168644821101 ], [ -122.513397136467816, 37.725829164711072 ], [ -122.605788983900837, 37.747827223623695 ] ] ] } },
|
||||
{ "type": "Feature", "properties": { "Feature 1": 3, "Feature 2": "CCCCC" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -122.459135257816683, 38.084397524986819 ], [ -122.584524193618634, 38.028669109074848 ], [ -122.466467944120893, 37.96414146959782 ], [ -122.350611500514404, 38.05066716798747 ], [ -122.35281130640567, 38.103462509377763 ], [ -122.459135257816683, 38.084397524986819 ] ] ] } }
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user