How to find crossings?

deals with geocoding and reverse geocoding

How to find crossings?

Postby MISTERX » Wed May 24, 2017 9:52 am

When looking up addresses there are a lot of parameters to influence result list. E.g. it is possible to get all house numbers for a street or even the reference point of the street.

I'm facing the problem that one of my customers likes to find a crossing and NOT a specific house number (or building).

Is it possible to get the geographical coordinates of a crossing or the crossings on a specified street?

Hopefully this is feasible!

Who is able to assist?
Mr. X
  • Integration PTV <> SAP
  • Senior Consultant
________________________________________________

Optimism is only a lack of data!
User avatar
MISTERX
 
Posts: 28
Joined: Mon Jun 02, 2014 11:50 am

Re: How to find crossings?

Postby Bernd Welter » Wed May 24, 2017 11:52 am

Hello Mr. X,

you can easily use the available SEARCH_OPTION-Class to influence the geocoders behaviour in the usecases you described:
xLocate-ReturnAllHousenumber.true.PNG
If the housenumber of the input address isn't found in the data we return a set of housenumber ranges

xLocate-ReturnAllHousenumber.false.PNG
... otherwise we return the reference coordinate of the street as a whole

About the second topic you mentioned: crossings. This is also possible:
xLocate-Intersections.PNG
Here I used the SEARCH_OPTION "INTERSECTIONS_ENABLE" which activates the useage of several potential separators specified in the native profile.

The native profile provides the following configuration parameter for the separators (among others). A separator is a charatcer or string that separates the involved streets from each other:
xml code
<Intersections.Separators Value="/¤\¤ at ¤ @ ¤ ecke ¤" Type="string"/>


So much for the moment!

Best regards,
Bernd
Bernd Welter
Manager Technical Consulting & Requirement Engineering
Senior Technical Consultant Developer Components
PTV GROUP - Germany

https://www.youtube.com/channel/UCgkUli9yGf0gwTDdxbMZ-Kg
User avatar
Bernd Welter
Site Admin
 
Posts: 870
Joined: Mon Apr 14, 2014 10:28 am

Re: How to find crossings?

Postby MISTERX » Wed May 24, 2017 12:18 pm

Dear Bernd,

thanks for your quick reply.

With respect to crossings I'd like to clarify: it is only possible to ask for a specific crossing, which I've to ask for by a somehow modified "street name"!?

When I'm right, are the Intersections.Separators from your post the whole bunch? I see "Ecke" and this is German! What about all the other languages? As far as I've seen in the xLocate API, it is not possible to define the separator by request?

Anyhow, it seems to be the best to work with the "/" as separator.
Mr. X
  • Integration PTV <> SAP
  • Senior Consultant
________________________________________________

Optimism is only a lack of data!
User avatar
MISTERX
 
Posts: 28
Joined: Mon Jun 02, 2014 11:50 am

Re: How to find crossings?

Postby Bernd Welter » Wed May 24, 2017 12:50 pm

Hi Mr. X,

how about what you'd like to clarify:
What input pattern would like to search for? (besides streetnames..)

As you've already seen: the separators are defined in the native profile file. Not sure whether you can add whatever you like (schickschnack didn't work). But yes: you can't provide the separators on request. If you want to deal with different separators, e.g. "ecke" in Germany and "across" in UK/US you have to add those separators and worst case you might specify several independent native profiles.

Best regards
Bernd
Bernd Welter
Manager Technical Consulting & Requirement Engineering
Senior Technical Consultant Developer Components
PTV GROUP - Germany

https://www.youtube.com/channel/UCgkUli9yGf0gwTDdxbMZ-Kg
User avatar
Bernd Welter
Site Admin
 
Posts: 870
Joined: Mon Apr 14, 2014 10:28 am


Return to PTV xLocateServer