Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Eric Duminil
RegionChooser
Commits
4583e34b
Commit
4583e34b
authored
Jan 12, 2017
by
duminil
Browse files
RegionChooser: EPSG 2263 (NYC feet) added.
parent
794fbcb9
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/eu/simstadt/regionchooser/RegionExtractor.java
View file @
4583e34b
...
...
@@ -44,6 +44,10 @@ static public StringBuffer selectRegionDirectlyFromCityGML(Path citygmlPath, Str
coordinatesPattern
=
Pattern
.
compile
(
"(?<![\\d\\.])([23]\\d\\d\\d\\d\\d[\\.\\d]*) ([4-8]\\d\\d\\d\\d[\\.\\d]*)"
);
//NOTE: NYC
break
;
case
"EPSG:2263"
:
coordinatesPattern
=
Pattern
.
compile
(
"(?<![\\d\\.])([19]\\d{5,6}[\\.\\d]*) ([1-4]\\d{5}[\\.\\d]*)"
);
//NOTE: NYC feet
break
;
case
"EPSG:3068"
:
coordinatesPattern
=
Pattern
.
compile
(
"(?<![\\d\\.])(2\\d\\d\\d\\d[\\.\\d]*) (2\\d\\d\\d\\d[\\.\\d]*)"
);
//NOTE: Berlin
...
...
src/eu/simstadt/regionchooser/website/data/citygml_hulls.kml
View file @
4583e34b
...
...
@@ -296,6 +296,26 @@
<LinearRing>
<tessellate>
1
</tessellate>
<coordinates>
9.1803803,48.8970593,0 9.1871932,48.9021311,0 9.1874585,48.9023214,0 9.1970945,48.9023481,0 9.2032429,48.9020006,0 9.2033162,48.9019648,0 9.2047193,48.9012707,0 9.2050313,48.9011015,0 9.2052038,48.8995507,0 9.2052814,48.8988286,0 9.2030388,48.8894805,0 9.2021685,48.8894573,0 9.2000522,48.8894035,0 9.1992817,48.8893840,0 9.1889507,48.8891517,0 9.1888860,48.8891536,0 9.1864425,48.8911998,0 9.1820861,48.8949701,0 9.1808518,48.8962262,0 9.1804692,48.8967207,0 9.1804565,48.8967556,0 9.1804403,48.8968000,0 9.1803803,48.8970593,0
</coordinates>
</LinearRing>
</outerBoundaryIs>
</Polygon>
</Placemark>
<Placemark>
<name>
MN.gml
</name>
<ExtendedData>
<Data
name=
"project"
>
<value>
NewYork
</value>
</Data>
<Data
name=
"srsName"
>
<value>
EPSG:2263
</value>
</Data>
</ExtendedData>
<Polygon>
<outerBoundaryIs>
<LinearRing>
<tessellate>
1
</tessellate>
<coordinates>
-74.0472738,40.6898540,0 -74.0471020,40.6907832,0 -74.0470315,40.6909449,0 -74.0435762,40.6980341,0 -74.0069490,40.7592518,0 -73.9287306,40.8748601,0 -73.9239435,40.8764380,0 -73.9097707,40.8786875,0 -73.9097212,40.8786600,0 -73.9084984,40.8779509,0 -73.9073061,40.8772432,0 -73.9066365,40.8761376,0 -73.9066379,40.8759312,0 -73.9165847,40.7910037,0 -73.9167996,40.7906575,0 -73.9761175,40.7127134,0 -73.9776640,40.7111385,0 -73.9776990,40.7111055,0 -73.9777687,40.7110515,0 -73.9778105,40.7110243,0 -74.0136026,40.6881568,0 -74.0143449,40.6877598,0 -74.0149787,40.6874323,0 -74.0228228,40.6845707,0 -74.0231051,40.6844712,0 -74.0231945,40.6844432,0 -74.0235208,40.6843627,0 -74.0248051,40.6842746,0 -74.0446342,40.6888016,0 -74.0471889,40.6897550,0 -74.0472315,40.6898044,0 -74.0472738,40.6898540,0
</coordinates>
</LinearRing>
</outerBoundaryIs>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment