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.

xMap : display buildings

Postby loic.caouen » Thu May 16, 2019 4:32 pm

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+Chambourcy/@48.9047998,2.0486415,17.25z/data=!4m5!3m4!1s0x47e688dbde5bf739:0x40b82c3688c42a0!8m2!3d48.906272!4d2.040137
loic.caouen
 
Posts: 7
Joined: Mon Dec 17, 2018 3:37 pm

Re: xMap : display buildings

Postby Bernd Welter » Fri May 17, 2019 7:44 am

Hello Loic,

you can achieve this with the following approaches:

xMap 1:
https://xserver.ptvgroup.com/fileadmin/ ... footprints
Buildings xmap1.PNG
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
Buildings xmap2.PNG
to be checked: why does DEFAULT display some buildings but not all?

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

Bernd at Youtube
User avatar
Bernd Welter
Site Admin
 
Posts: 1313
Joined: Mon Apr 14, 2014 10:28 am

Re: xMap : display buildings

Postby loic.caouen » Fri May 17, 2019 8:21 am

Great ! Thanks a lot Bernd.
Do you know how to activate the footprint profile with javascript and leaflet ?
loic.caouen
 
Posts: 7
Joined: Mon Dec 17, 2018 3:37 pm

Re: xMap : display buildings

Postby Bernd Welter » Fri May 17, 2019 8:40 am

Hello Loic,

there you go:


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

Bernd at Youtube
User avatar
Bernd Welter
Site Admin
 
Posts: 1313
Joined: Mon Apr 14, 2014 10:28 am

Re: xMap : display buildings

Postby loic.caouen » Fri May 17, 2019 10:08 am

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...
index.gif
xmap1:buildings only on one side
loic.caouen
 
Posts: 7
Joined: Mon Dec 17, 2018 3:37 pm

Re: xMap : display buildings

Postby Bernd Welter » Fri May 17, 2019 11:18 am

Hello Loic,

TOMTOM.PNG
TOMTOM / https://xmap-eu-n.cloud.ptvgroup.com/
HERE.PNG
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
Manager Technical Consulting & Requirement Engineering
Senior Technical Consultant Developer Components
PTV GROUP - Germany

Bernd at Youtube
User avatar
Bernd Welter
Site Admin
 
Posts: 1313
Joined: Mon Apr 14, 2014 10:28 am

Re: xMap : display buildings

Postby loic.caouen » Fri May 17, 2019 2:53 pm

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

Regards
loic.caouen
 
Posts: 7
Joined: Mon Dec 17, 2018 3:37 pm

Re: xMap : display buildings

Postby Bernd Welter » Mon May 20, 2019 7:13 am

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
Manager Technical Consulting & Requirement Engineering
Senior Technical Consultant Developer Components
PTV GROUP - Germany

Bernd at Youtube
User avatar
Bernd Welter
Site Admin
 
Posts: 1313
Joined: Mon Apr 14, 2014 10:28 am


Return to PTV xMapServer

cron