xMap : display buildings

This forum covers all questions dealing with visualization of data within the native PTV xMap interface. Please remember that additional plugins such as AJAX or Leaflet may be handeled in other forums.
Post Reply
User avatar
loic.caouen
Posts: 8
Joined: Mon Dec 17, 2018 3:37 pm

xMap : display buildings

Post by loic.caouen »

Do we have the polygons of the building in our maps ?
Can we display them on xMap 1 like Google Maps does :
https://www.google.fr/maps/place/78240+ ... 4d2.040137
Loïc Caouën
Technical Consultant
PTV FRANCE
User avatar
Bernd Welter
Site Admin
Posts: 2564
Joined: Mon Apr 14, 2014 10:28 am
Contact:

Re: xMap : display buildings

Post by Bernd Welter »

Hello Loic,

you can achieve this with the following approaches:

xMap 1:
https://xserver.ptvgroup.com/fileadmin/ ... footprints
xMap 1 (footprints): buildings are displayed on both sides of the river
xMap 1 (footprints): buildings are displayed on both sides of the river
xMap 2: Buildings are displayed by default and with some profiles (but not each one, e.g. not in AMBER).
https://xserver2-europe-eu-test.cloud.p ... g%7C_____1
to be checked: why does DEFAULT display some buildings but not all?
to be checked: why does DEFAULT display some buildings but not all?
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... :twisted:
User avatar
loic.caouen
Posts: 8
Joined: Mon Dec 17, 2018 3:37 pm

Re: xMap : display buildings

Post by loic.caouen »

Great ! Thanks a lot Bernd.
Do you know how to activate the footprint profile with javascript and leaflet ?
Loïc Caouën
Technical Consultant
PTV FRANCE
User avatar
Bernd Welter
Site Admin
Posts: 2564
Joined: Mon Apr 14, 2014 10:28 am
Contact:

Re: xMap : display buildings

Post by Bernd Welter »

Hello Loic,

there you go:
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... :twisted:
User avatar
loic.caouen
Posts: 8
Joined: Mon Dec 17, 2018 3:37 pm

Re: xMap : display buildings

Post by loic.caouen »

Thanks Bernd.
By the way, can you give me the json/soap query you used to get the xmap 1 image in Saint Cloud ?
Image

I've tried this query with the url http://xserver-1:50000/ :

Code: Select all

{
  "mapSection": {
    "center": {
      "point": {
        "x": 2.2224928,
        "y": 48.8409554
      }
    },
    "scale": 500,
    "scrollHorizontal": 0,
    "scrollVertical": 0,
    "zoom": 15
  },
  "mapParams": {
    "showScale": true,
    "useMiles": false
  },
  "imageInfo": {
    "format": "GIF",
    "width": 1000,
    "height": 1000
  },
  "layers": null,
  "includeImageInResponse": true,
  "callerContext": {
    "properties": [
      {
        "key": "CoordFormat",
        "value": "OG_GEODECIMAL"
      },
      {
        "key": "Profile",
        "value": "footprints"
      }
    ]
  }
}
but I get only the buildings on one side. I'm wondering if some extra map data are needed...
xmap1:buildings only on one side
xmap1:buildings only on one side
Loïc Caouën
Technical Consultant
PTV FRANCE
User avatar
Bernd Welter
Site Admin
Posts: 2564
Joined: Mon Apr 14, 2014 10:28 am
Contact:

Re: xMap : display buildings

Post by Bernd Welter »

Hello Loic,
TOMTOM / https://xmap-eu-n.cloud.ptvgroup.com/
TOMTOM / https://xmap-eu-n.cloud.ptvgroup.com/
HERE / https://xmap-tln-eu-n.cloud.ptvgroup.com/
HERE / https://xmap-tln-eu-n.cloud.ptvgroup.com/
you can't ... in the HERE map the buildings are missing :evil:

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... :twisted:
User avatar
loic.caouen
Posts: 8
Joined: Mon Dec 17, 2018 3:37 pm

Re: xMap : display buildings

Post by loic.caouen »

Ok, so we must use TomTom if we want the buildings.
Thanks for your help.

Regards
Loïc Caouën
Technical Consultant
PTV FRANCE
User avatar
Bernd Welter
Site Admin
Posts: 2564
Joined: Mon Apr 14, 2014 10:28 am
Contact:

Re: xMap : display buildings

Post by Bernd Welter »

Bonjour Loic,

Well, that was a single and simple test. I have no clue about the number of buildings and coverage in the whole map.
I recommend to perform some more thoroughly tests. If you need an official statement get in touch with Product Management ;-) or use the data forum

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... :twisted:
User avatar
Bernd Welter
Site Admin
Posts: 2564
Joined: Mon Apr 14, 2014 10:28 am
Contact:

Re: xMap : display buildings

Post by Bernd Welter »

just a sidenote:
nowadays the latest version of PTV Developer APIs now also offers Vector Maps including
  • HERE building footprints
  • Tilting of maps
  • Rotation of maps
Here's a quick demo video.

Best regards,
Bernd
Attachments
City of Cologne
City of Cologne
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... :twisted:
Post Reply