io
.
fsq
.
twofishes
.
indexer
.
importers
.
geonames
PolygonLoader
Related Docs:
object PolygonLoader
|
package geonames
class
PolygonLoader
extends
DurationUtils
Linear Supertypes
DurationUtils
,
Logging
,
AnyRef
,
Any
Ordering
Alphabetic
By Inheritance
Inherited
PolygonLoader
DurationUtils
Logging
AnyRef
Any
Hide All
Show All
Visibility
Public
All
Instance Constructors
new
PolygonLoader
(
parser:
GeonamesParser
,
store:
GeocodeStorageWriteService
,
parserConfig:
GeonamesImporterConfig
)
Type Members
case class
PolygonMatch
(
candidate:
GeocodeRecord
,
nameScore:
Int
=
0
)
extends
Product
with
Serializable
Value Members
final
def
!=
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
final
def
##
()
:
Int
Definition Classes
AnyRef → Any
final
def
==
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
def
applyHacks
(
originalText:
String
)
:
List
[
String
]
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
bestNameScore
(
namesFromFeature:
Seq
[
String
]
,
namesFromShape:
Seq
[
String
]
)
:
Int
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
val
coverOptions
:
CoverOptions
def
debugFeature
(
r:
GeocodeRecord
)
:
String
def
debugFeature
(
feature:
FsqSimpleFeature
)
:
String
def
debugFeature
(
config:
PolygonMappingConfig
,
feature:
FsqSimpleFeature
)
:
String
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
equals
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
lazy val
executor
:
ExecutorT
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
def
findMatchCandidates
(
geometry:
Geometry
,
woeTypes:
List
[
YahooWoeType
]
)
:
Iterator
[
GeocodeRecord
]
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
def
getFixedNames
(
config:
PolygonMappingConfig
,
feature:
FsqSimpleFeature
)
:
Seq
[
DisplayName
]
def
getId
(
polygonMappingConfig:
PolygonMappingConfig
,
feature:
FsqSimpleFeature
)
:
String
def
getMatchingForFile
(
f:
File
,
defaultNamespace:
FeatureNamespace
)
:
Map
[
String
,
Seq
[
StoredFeatureId
]]
def
getName
(
config:
PolygonMappingConfig
,
feature:
FsqSimpleFeature
)
:
Option
[
String
]
def
getNames
(
config:
PolygonMappingConfig
,
feature:
FsqSimpleFeature
)
:
Seq
[
DisplayName
]
def
hasName
(
config:
PolygonMappingConfig
,
feature:
FsqSimpleFeature
)
:
Boolean
def
hashCode
()
:
Int
Definition Classes
AnyRef → Any
def
indexPolygon
(
polyId:
ObjectId
,
geom:
Geometry
,
source:
String
)
:
Unit
def
isGoodEnoughMatch
(
polygonMatch:
PolygonMatch
)
:
Boolean
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
def
load
(
defaultNamespace:
FeatureNamespace
,
f:
File
)
:
Unit
def
load
(
defaultNamespace:
FeatureNamespace
)
:
Unit
val
log
:
Logger
Attributes
protected
Definition Classes
Logging
def
logDuration
[
T
]
(
ostrichKey:
String
,
extraInfo:
String
)
(
f: ⇒
T
)
:
T
Definition Classes
DurationUtils
def
logPhase
[
T
]
(
what:
String
)
(
f: ⇒
T
)
:
T
Definition Classes
DurationUtils
val
matchExtension
:
String
def
maybeMakeFeature
(
polygonMappingConfig:
Option
[
PolygonMappingConfig
]
,
feature:
FsqSimpleFeature
)
:
Option
[
StoredFeatureId
]
def
maybeMatchFeature
(
config:
PolygonMappingConfig
,
feature:
FsqSimpleFeature
,
geometry:
Geometry
,
outputMatchWriter:
Option
[
Writer
]
)
:
List
[
StoredFeatureId
]
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
val
parenNameRegex
:
Regex
def
processFeatureIterator
(
defaultNamespace:
FeatureNamespace
,
features:
ShapeIterator
,
polygonMappingConfig:
Option
[
PolygonMappingConfig
]
,
matchingTable:
Map
[
String
,
Seq
[
StoredFeatureId
]]
)
:
Unit
def
rebuildRevGeoIndex
:
Unit
var
recordsUpdated
:
Int
def
recursiveListFiles
(
f:
File
)
:
Array
[
File
]
def
removeDiacritics
(
text:
String
)
:
String
def
scoreMatch
(
feature:
FsqSimpleFeature
,
config:
PolygonMappingConfig
,
candidate:
GeocodeRecord
,
withLogging:
Boolean
=
false
)
:
PolygonMatch
val
spaceRegex
:
Regex
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
toString
()
:
String
Definition Classes
AnyRef → Any
val
transliterator
:
Transliterator
def
updateRecord
(
store:
GeocodeStorageWriteService
,
geoids:
List
[
StoredFeatureId
]
,
geom:
Geometry
,
source:
String
)
:
Unit
final
def
wait
()
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
,
arg1:
Int
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
val
wkbWriter
:
WKBWriter
Inherited from
DurationUtils
Inherited from
Logging
Inherited from
AnyRef
Inherited from
Any
Ungrouped