Hello,
how or in what layer can be viewed gas stations or parking lots for trucks on the map?
Thank you
Gas stations or Parking lots for trucks
Gas stations or Parking lots for trucks
Vladimír Plachý, DiS.
Developer windows applications
D&Comm s.r.o. - Czech Republic
Developer windows applications
D&Comm s.r.o. - Czech Republic
- Bernd Welter
- Site Admin
- Posts: 2695
- Joined: Mon Apr 14, 2014 10:28 am
- Contact:
Re: Gas stations or Parking lots for trucks
Hello Vlad,
PTV can offer so-called POINTS OF INTEREST which contain various categories such as
http://xserver.ptvgroup.com/fileadmin/f ... _Types.htm
Further information is available at http://xserver.ptvgroup.com/fileadmin/f ... n%7C_____7
And here is a sample XML request for this:
Do you need more info?
Best regards Bernd
PTV can offer so-called POINTS OF INTEREST which contain various categories such as
- 7369 - Open Parking Area
- 7313 - Parking Garage
- 7311 - Petrol Station
- ...
- cloud: e.g. https://xmap-eu-n-test.cloud.ptvgroup.com/xmap/ws/XMap contain this data
- on premise: you need additional POI data to visualize those objects.
http://xserver.ptvgroup.com/fileadmin/f ... _Types.htm
Further information is available at http://xserver.ptvgroup.com/fileadmin/f ... n%7C_____7
And here is a sample XML request for this:
Code: Select all
<?xml version="1.0"?>
<Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.xmlsoap.org/soap/envelope/">
<Body>
<renderMap xmlns="http://types.xmap.xserver.ptvag.com">
<MapSection_1 scale="500" scrollHorizontal="0" scrollVertical="0" zoom="0">
<center xmlns="http://xmap.xserver.ptvag.com">
<kml xsi:nil="true" xmlns="http://common.xserver.ptvag.com" />
<point x="682055.81" y="6372194.6" xmlns="http://common.xserver.ptvag.com" />
</center>
</MapSection_1>
<MapParams_2 showScale="true" useMiles="false" />
<ImageInfo_3 format="GIF" height="777" imageParameter="" width="777" />
<ArrayOfLayer_4>
<Layer xsi:type="SMOLayer" name="default.points-of-interest.default;featurecode in ('7311','7369','7313')" visible="true" configuration="" objectInfos="REFERENCEPOINT" xmlns="http://xmap.xserver.ptvag.com" />
</ArrayOfLayer_4>
<boolean_5>true</boolean_5>
<CallerContext_6>
<wrappedProperties xmlns="http://baseservices.service.jabba.ptvag.com">
<CallerContextProperty key="CoordFormat" value="PTV_MERCATOR" />
<CallerContextProperty />
<CallerContextProperty />
</wrappedProperties>
</CallerContext_6>
</renderMap>
</Body>
</Envelope>
Best regards Bernd
Bernd Welter
Technical Partner Manager Developer Components
PTV Logistics - Germany
Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning...
Technical Partner Manager Developer Components
PTV Logistics - Germany
Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning...
Re: Gas stations or Parking lots for trucks
Hello Brend,
thank you for your information.
I have one question yet. How can I add this layer to a map in C # project? Somehow, I fail to program it.
Best regards Vladimir
thank you for your information.
I have one question yet. How can I add this layer to a map in C # project? Somehow, I fail to program it.
Best regards Vladimir
Vladimír Plachý, DiS.
Developer windows applications
D&Comm s.r.o. - Czech Republic
Developer windows applications
D&Comm s.r.o. - Czech Republic
- Bernd Welter
- Site Admin
- Posts: 2695
- Joined: Mon Apr 14, 2014 10:28 am
- Contact:
Re: Gas stations or Parking lots for trucks
Hello Vlad,
if you want to use a native layer for painting just use the following one:But: if you work with the xServer.NET control I have to involve a colleague to request a sample. I hope Oliver can provide some nice code.
Best regards Bernd
PS: I moved the topic to xMap forum as it is not a routing topic
if you want to use a native layer for painting just use the following one:
Code: Select all
new SMOLayer()
{
name = "default.points-of-interest.default;featurecode in ('7311','7369','7313')",
objectInfos = ObjectInfoType.REFERENCEPOINT,
visible = true
};
Best regards Bernd
PS: I moved the topic to xMap forum as it is not a routing topic
Bernd Welter
Technical Partner Manager Developer Components
PTV Logistics - Germany
Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning...
Technical Partner Manager Developer Components
PTV Logistics - Germany
Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning...
- Bernd Welter
- Site Admin
- Posts: 2695
- Joined: Mon Apr 14, 2014 10:28 am
- Contact:
Re: Gas stations or Parking lots for trucks
and here is some info from Oliver:
Best regards BerndI recommend to take a look at the ServerSideRendering example available at https://github.com/ptv-logistics/xservernet-bin
The sample demonstrates how to integrate native SMO layers into xServer.NET layers.
https://github.com/ptv-logistics/xserve ... #L132-L152
For client side rendering I recommend to use this sample: https://github.com/ptv-logistics/SharpMap.Widgets
Bernd Welter
Technical Partner Manager Developer Components
PTV Logistics - Germany
Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning...
Technical Partner Manager Developer Components
PTV Logistics - Germany
Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning...
- Bernd Welter
- Site Admin
- Posts: 2695
- Joined: Mon Apr 14, 2014 10:28 am
- Contact:
Re: Gas stations or Parking lots for trucks
Recently I've been asked whether we can offer a search for EV charging stations (electronic vehicles).
As some of you might have noticed: there's no POI search in xServer 2 but we implemented this approach in the PTV Developer API which was released for PROD in summer 2021.
For details check the documentation of the Places API.
Best regards,
Bernd
As some of you might have noticed: there's no POI search in xServer 2 but we implemented this approach in the PTV Developer API which was released for PROD in summer 2021.
For details check the documentation of the Places API.
Best regards,
Bernd
Bernd Welter
Technical Partner Manager Developer Components
PTV Logistics - Germany
Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning...
Technical Partner Manager Developer Components
PTV Logistics - Germany
Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning...