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
d04e20e3
Commit
d04e20e3
authored
Feb 16, 2017
by
duminil
Browse files
RegionChooser: ETRS89 / UTM zone 32N for Essen
parent
9deedd33
Changes
1
Show whitespace changes
Inline
Side-by-side
src/eu/simstadt/regionchooser/RegionExtractor.java
View file @
d04e20e3
...
@@ -40,6 +40,10 @@ static public StringBuffer selectRegionDirectlyFromCityGML(Path citygmlPath, Str
...
@@ -40,6 +40,10 @@ static public StringBuffer selectRegionDirectlyFromCityGML(Path citygmlPath, Str
coordinatesPattern
=
Pattern
coordinatesPattern
=
Pattern
.
compile
(
"(?<![\\d\\.])(3\\d\\d\\d\\d\\d\\d[\\.\\d]*) (5\\d\\d\\d\\d\\d\\d[\\.\\d]*)"
);
.
compile
(
"(?<![\\d\\.])(3\\d\\d\\d\\d\\d\\d[\\.\\d]*) (5\\d\\d\\d\\d\\d\\d[\\.\\d]*)"
);
break
;
break
;
case
"EPSG:25832"
:
coordinatesPattern
=
Pattern
.
compile
(
"(?<![\\d\\.])([2-6]\\d{5}[\\.\\d]*) ([567]\\d{6}[\\.\\d]*)"
);
//NOTE: ETRS89 / UTM zone 32N. Used for Essen
break
;
case
"EPSG:32118"
:
case
"EPSG:32118"
:
coordinatesPattern
=
Pattern
coordinatesPattern
=
Pattern
.
compile
(
"(?<![\\d\\.])([23]\\d\\d\\d\\d\\d[\\.\\d]*) ([4-8]\\d\\d\\d\\d[\\.\\d]*)"
);
//NOTE: NYC
.
compile
(
"(?<![\\d\\.])([23]\\d\\d\\d\\d\\d[\\.\\d]*) ([4-8]\\d\\d\\d\\d[\\.\\d]*)"
);
//NOTE: NYC
...
...
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