You are not logged in.

Announcement

*** NOTICE: forum.openstreetmap.org is being retired. Please request a category for your community in the new ones as soon as possible using this process, which will allow you to propose your community moderators.
Please create new topics on the new site at community.openstreetmap.org. We expect the migration of data will take a few weeks, you can follow its progress here.***

#1501 2010-10-15 07:57:34

dimuzz
Member
From: Екатеринбург
Registered: 2009-09-10
Posts: 1,843

Re: Конвертация OSM в Navitel

Гляну вечером, добавлю.
Скорее всего, 0xf505 - Специальное учебное заведение.

Offline

#1502 2010-10-15 12:56:12

yankiuzb
Member
Registered: 2010-10-11
Posts: 29

Re: Конвертация OSM в Navitel

Всем доброго дня! После конвертации из OSM в MP дороги с односторонним движением преобразуются в двусторонние, подскажите в чём может быть причина?
Спасибо.

Offline

#1503 2010-10-15 12:57:24

liosha
Member
From: Moscow
Registered: 2008-03-04
Posts: 8,447
Website

Re: Конвертация OSM в Navitel

yankiuzb, быть того не может. Это где такое?

Offline

#1504 2010-10-15 13:06:26

yankiuzb
Member
Registered: 2010-10-11
Posts: 29

Re: Конвертация OSM в Navitel

Город Ташкент, после конвертации открываю карту GPSMapEdit и те дороги которые односторонние стали двусторонними, подозреваю что в файле navitel.yml  что-то не так
Вот то что в моём файле
################################
##  MP header
################################

--- header
--- |
  [IMG ID]
  ID=[% mapid %]
  Name=[% mapname %]
  Copyright=OpenStreetMap project contributors under CC-BY-SA|Converted by

  TypeSet=Navitel

  [% IF codepage %]
  LblCoding=9
  CodePage=[% codepage %]
  [% ELSE %]
  ; UTF-8 encoding
  CodePage=utf8
  [% END %]

  POINumberFirst=N
  DefaultCityCountry=[% defaultcountry %]
  DefaultRegionCountry=[% defaultregion %]

  MG=Y
  POIIndex=Y
  Routing=Y

  Elevation=M
  Preprocess=F
  TreSize=3000

  Levels=6
  Level0=25
  LevelRange0=24
  Level1=22
  Level2=20
  Level3=18
  Level4=16
  Level5=15

  [END-IMG ID]
 


################################
##  Addressible places
################################


--- address
---


- condition:
    - place = city
  action:
    - type:         load_city
      name:         %place
      region:       %region
      country:      %country


- condition:
    - place = town
  action:
    - type:         load_city
      name:         %place
      region:       %region
      country:      %country


- condition:
    - place = suburb
  action:
    - type:         load_suburb
      name:         %place


- condition:
    - place = village
  action:
    - type:         load_city
      name:         %place
      region:       %region
      country:      %country

Offline

#1505 2010-10-15 13:09:31

liosha
Member
From: Moscow
Registered: 2008-03-04
Posts: 8,447
Website

Re: Конвертация OSM в Navitel

yankiuzb wrote:

подозреваю что в файле navitel.yml  что-то не так

С ним это не может быть связано.
Какиа версия конвертера и конфигов, параметры запуска?
И какой конкретно вей становится двусторонним?

Offline

#1506 2010-10-15 13:16:14

yankiuzb
Member
Registered: 2010-10-11
Posts: 29

Re: Конвертация OSM в Navitel

Конвертер 0.80b

poi.cfg

#                    type        levels (default: 0   1)


aeroway        aerodrome        0x5900        0    2
aeroway        helipad            0x5904
aeroway        terminal        0x2f04        0    2

amenity          arts_centre        0x2c09
amenity        atm            0xf601        0    0
amenity        bank            0x2F06        0    0
amenity        bicycle_parking
amenity        bicycle_rental
amenity        biergarten        0x4600        0    0
amenity        bureau_de_change        0x2f06
amenity        bus_station        0xf001        0    0
amenity        cafe            0x2A0E
amenity        car_rental        0x2F02        0    0
amenity        car_sharing
amenity        car_wash        0x2F0E
amenity        cinema            0x2D03
amenity        college            0x2C05        0    0
amenity        courthouse        0x3004
amenity        dentist            0xf801        0    0
amenity        doctors            0x4b00        0    0
amenity        drinking_water        0x5000
amenity        fast_food        0x2A07
amenity        fire_station        0x3008
amenity        fountain        0xf302        0    0
amenity        fuel            0x2F01        0    2
amenity        grave_yard        0x6403        0    0
amenity        hospital        0x3002        0    0
amenity        kindergarten        0xf501        0    0
amenity        library            0x2C03        0    0
amenity        nightclub        0x2D02
amenity        parking            0x2F0B        0    0
amenity        pharmacy        0x2E05        0    0
amenity        place_of_worship    0x2C0B        0    0
amenity        police            0x3001        0    0
amenity        post_box
amenity        post_office        0x2F05        0    0
amenity        prison
amenity        pub            0x2D02
amenity        public_building        0x6405
amenity        recycling
amenity        restaurant        0x4500
amenity        sauna            0xf603
amenity        school            0x2C05        0    0
amenity        shelter            0x6100
amenity        taxi
amenity        telephone        0x5100        0    0
amenity        theatre            0x2D01
amenity        toilets            0x4e00        0    0
amenity        townhall        0x3003        0    0
amenity        veterinary        0xf802        0    0
amenity        university        0xf504        0    0

barrier         bollard                 0xF207        0       0
barrier         gate                    0xF207        0       0
barrier        border_control        0x3006        0    2
barrier        toll_booth        0x2500

highway        bus_stop        0x2F08        0    0
highway        cattle_grid
highway        crossing
highway        ford            0xf307
highway        gate
highway        incline
highway        incline_steep
highway        mini_roundabout        0xf20c
highway        motorway_junction
highway        services
highway        stile
highway        stop
highway        toll_booth
highway        traffic_signals        0xf201        0    0
highway        turning_circle
highway        viaduct

historic    archaeological_site    0x2C04        0    2
historic    battlefield        0x2C04        0    2
historic    castle            0x2c04        0    2
historic    memorial        0xf301        0    2
historic    monument        0xf301        0    2
historic    museum            0x2C02        0    2
historic    ruins            0x2C04        0    2

internet_access terminal                0xf616        0       0
internet_access wlan                    0xf615        0       0

landuse        allotments        0x1100
landuse        basin            0x2d09
landuse        brownfield
landuse        cemetery        0x6403
landuse        commercial
landuse        construction
landuse        farm
landuse        forest            0x660a
landuse        greenfield
landuse        industrial
landuse        landfill
landuse        military
landuse        quarry
landuse        railway
landuse        recreation_ground
landuse        reservoir
landuse        residential        0x6100        0    0
landuse        retail
landuse        village_green

leisure        common
leisure        fishing            0x4100
leisure        garden
leisure        golf_course
leisure        marina            0x4300
leisure        nature_reserve        0x6612
leisure        park            0x2C06
leisure        pitch
leisure        playground
leisure        slipway
leisure        sports_centre        0x2d0a
leisure        stadium            0x2C08
leisure        track
leisure        water_park

man_made    beacon
man_made    crane
man_made    gasometer
man_made    lighthouse
man_made    power_fossil
man_made    power_hydro        0x6407
man_made    power_nuclear
man_made    power_wind
man_made    reservoir_covered
man_made    survey_point        0x6411
man_made    tower            0x6411
man_made    wastewater_plant
man_made    water_tower        0x6411
man_made    windmill
man_made    works

military    airfield
military    barracks        0x640B
military    bunker
military    danger_area
military    naval_base
military    range            0x640B

natural        bay            0x6503
natural        beach            0x6604
natural        cave_entrance
natural        cliff
natural        coastline
natural        fell
natural        glacier            0x650A
natural        heath
natural        land
natural        marsh
natural        mud
natural        peak            0x6616
natural        scree
natural        scrub
natural        spring            0x6414
natural        tree            0xf404
natural        volcano
natural        water            0x650D
natural        wood            0x660A

place        city            0x0300        0    4    city
place        town            0x0800        0    3    city
place        village            0x0C00        0    2    city
place        hamlet            0x0F00        0    2    city

place        airport            0x5900        0    2
place        continent
place        country
place        county
place        island            0x650C        0    2
place        locality        0x0F00        0    2    city
place        region
place        state
place        suburb            0x1F00        0    2

power        generation
power        sub_station
power        tower

railway        crossing        0x6406
railway        halt            0xf006
railway        level_crossing        0xf20b
railway        station            0xf006
railway        subway_entrance        0xf005        0    0
railway        tram_stop        0xf003        0    0
railway        turntable
railway        viaduct            0x6401

shop            adult                   0xf709
shop            alcohol                 0x2e00
shop            bakery                  0x2A0E
shop            beverages               0x2e02
shop            bicycle                 0xF707
shop            books                   0x2E0A
shop            butcher                 0x2E02
shop            car                     0x2F07
shop            car_repair              0x2F03
shop            chemist                 0xf704
shop            clothes                 0x2E07
shop            convenience             0x2e06
shop            computer                0x2E0B
shop            department_store        0x2E01
shop            doityourself            0x2E08
shop            drugstore               0x2e05
shop            dry_cleaning            0xf604
shop            electronics             0x2E0A
shop            fashion                 0x2e07
shop            florist                 0xf70a
shop            furniture               0x2E09
shop            garden_centre           0x2E08
shop            general                 0x2e06
shop            grocery                 0x2E02
shop            hairdresser             0xf602
shop            hardware                0x2E06
shop            jewelry                 0xf70b
shop            kiosk                   0x2E02
shop            laundry                 0x2F00
shop            mall                    0x2E04
shop            newsagent               0x2e00
shop            optician                0x2e05
shop            outdoor                 0xF707
shop            shoes                   0xf702
shop            sports                  0xf707
shop            stationery              0x2E0A
shop            supermarket             0x2E04
shop            toys                    0x2e00
shop            travel_agency           0xf613
shop            video                   0x2e00

sport        10pin
sport        athletics
sport        australian_football
sport        baseball
sport        basketball
sport        boules
sport        bowls            0x2D07
sport        climbing
sport        cricket
sport        cricket_nets
sport        croquet
sport        cycling
sport        dog_racing
sport        equestrian
sport        football
sport        golf            0x2D05
sport           gymnastics              0x2d0a
sport           hockey                  0x2d08
sport           horse_racing
sport           motor                   0x2f0d
sport        multi
sport        orienteering
sport        pelota
sport        racquet
sport        rugby
sport        skateboard
sport        skating            0x2D08
sport        skiing            0x2D06
sport        soccer
sport        swimming        0x2D09
sport        table_tennis
sport        tennis

tourism        artwork
tourism        attraction        0x2C00        0    2
tourism        camp_site        0x2B03
tourism        caravan_site        0x2B03
tourism        guest_house        0x2B00
tourism        hostel            0x2B00
tourism        hotel            0x2B01
tourism        information        0x4C00
tourism        motel            0x2B01
tourism        museum            0x2C02        0    2
tourism        picnic_site        0x4a00        0    2
tourism        theme_park        0x2c01
tourism        viewpoint        0x5200        0    2
tourism        zoo            0x2C07

traffic_calming    yes            0xF204        0    0
traffic_calming    bump            0xF204        0    0
traffic_calming    cushion            0xF204        0    0
traffic_calming    hump            0xF204        0    0
traffic_calming    table            0xF204        0    0

waterway    aqueduct
waterway    boatyard
waterway    dock
waterway    lock_gate
waterway    mooring
waterway    turning_point
waterway    waste_disposal
waterway    water_point
waterway    weir

poly.cfg
abutters    commercial
abutters    industrial
abutters    mixed
abutters    residential
abutters    retail

aerialway    cable_car
aerialway    chair_lift
aerialway    drag_lift

aeroway        apron            p 0x07    0 1
aeroway        runway            l    0x27        0    2
aeroway        taxiway            l    0x06        0    1
aeroway        terminal        p    0x07

amenity         arts_centre             p       0x06e,3         0       0      0x2c09
amenity         bank                    p       0x6d,3          0       0      0x2f06
amenity         bicycle_parking        
amenity         cafe                    p       0x6e,3          0       0      0x2A0E,0,0
amenity         car_rental             
amenity         car_sharing            
amenity         car_wash
amenity         cinema                  p       0x06e,3         0       0      0x2D03
amenity         college                 p       0x0a,1          0       1      0xf504,0,0
amenity         dentist                 p       0x06e,3         0       0      0xf801
amenity         doctors                 p       0x06e,3         0       0      0x4b00
amenity         fast_food               p       0x06e,3         0       0      0x2a07,0,0
amenity         fountain               
amenity         food_court
amenity         fuel                    p       undef           0       0      0x2f01
amenity         grave_yard              p       0x1a
amenity         hospital                p       0x0b,1          0       1      0x3002
amenity         kindergarten            p       0x0a,1          0       0      0xf501,0,0
amenity         library                 p       0x06e,3         0       0      0x2c03,0,0
amenity         marketplace             p       undef           0       1      0xf701,0,0
amenity         parking                 p       0x05,1          0       0      0x2f0b,0,0
amenity         parking_garage          p       0x06,1
amenity         pharmacy                p       0x06e,3         0       0      0x2e05
amenity         police                  p       0x6d,3          0       0      0x3001
amenity         post_office             p       0x6d,3          0       0      0x2F05
amenity         pub                     p       0x06e,3         0       0      0x2D02
amenity         public_building         p       0x06e,3         0       0
amenity         restaurant              p       0x06e,3         0       0      0x4500,0,0
amenity         sauna                   p       0x06e,3         0       0      0xf603,0,0
amenity         school                  p       0x0a,1          0       1      0x2C05,0,0
amenity         taxi                   
amenity         theatre                 p       0x06e,3         0       0      0x2d01
amenity         townhall               
amenity         university              p       0x0a,1          0       1      0xf504,0,0

#boundary        administrative
place           city                    p       0x01,2          2       4
place           town                    p       0x02,2          1       3
place           village                 p       0x03,2          0       2
place           hamlet                  p       0x03,2          0       2
admin_level     10                      p       0x03,1          0       2
admin_level     8                       p       0x03,1          0       2
admin_level     6                       l       0x1d,1          2       3
admin_level     4                       l       0x1c,1          2       4
admin_level     2                       l       0x1e,1          0       4


barrier        fence            l    0x46        0    0
barrier        hedge            l    0x46        0    0
barrier        wall            l    0x46        0    0

boundary    civil
boundary    national_park
boundary    political

building        yes                     p       0x13,2          0       0
building        administrative          p       0x6d            0       0
building        apartments              p       0x6c            0       0
building        cafe                    p       0x6e            0       0
building        church                  p       0x6e            0       0
building        college                 p       0x6e            0       0
building        construction            p       0x13            0       0
building        dormitory               p       0x6c            0       0
building        fire_station            p       0x6d            0       0
building        fuel                    p       0x13            0       0
building        garage                  p       0x6f            0       0
building        garages                 p       0x06            0       0
building        hospital                p       0x6e            0       0
building        house                   p       0x6c            0       0
building        industrial              p       0x6f            0       0
building        kindergarten            p       0x6e            0       0
building        market                  p       0x6e            0       0
building        office                  p       0x6d            0       0
building        public                  p       0x6e            0       0
building        residential             p       0x6c            0       0
building        school                  p       0x6e            0       0
building        shop                    p       0x6e            0       0
building        sport                   p       0x6e            0       0
building        store                   p       0x6e            0       0
building        theatre                 p       0x6e            0       0
building        university              p       0x6e            0       0

contour        elevation        l    0x20
contour_ext    elevation_minor        l    0x20
contour_ext    elevation_medium    l    0x21
contour_ext    elevation_major        l    0x22

cycleway    lane            l    0x16        0    0
cycleway    opposite        l    0x16        0    0
cycleway    opposite_lane        l    0x16        0    0
cycleway    opposite_track        l    0x16        0    0
cycleway    track            l    0x16        0    0

            # RouteParams=speed,class,oneway,toll,emergency,delivery,car,bus,taxi,foot,bike,truck

highway        motorway            r    0x01,2        0    4    6,4,0,0,0,0,0,0,0,0,0,0
highway        motorway_link        r    0x09,2        0    4    3,4,1,0,0,0,0,0,0,0,0,0
highway         motorway_link/city      r       0x09,2          0       2       3,3,1,0,0,0,0,0,0,0,0,0

highway        trunk            r    0x01,2        0    4    5,4,0,0,0,0,0,0,0,0,0,0
highway        trunk/city              r    0x04,2        0    4    3,3,0,0,0,0,0,0,0,0,0,0
highway        trunk_link            r    0x09,2        0    2    3,4,0,0,0,0,0,0,0,0,0,0
highway         trunk_link/city         r       0x09,2          0       2       3,3,0,0,0,0,0,0,0,0,0,0

highway        primary            r    0x02,2        0    3    4,3,0,0,0,0,0,0,0,0,0,0
highway        primary/city        r    0x04,2        0    3    3,2,0,0,0,0,0,0,0,0,0,0
highway        primary_link        r    0x08,2        0    3    2,3,0,0,0,0,0,0,0,0,0,0
highway         primary_link/city       r       0x08,2          0       1       2,2,0,0,0,0,0,0,0,0,0,0

highway        secondary        r    0x03,2        0    2    3,3,0,0,0,0,0,0,0,0,0,0
highway         secondary/city          r       0x05,2          0       1       3,2,0,0,0,0,0,0,0,0,0,0
highway        secondary_link        r    0x08,2        0    2    2,3,1,0,0,0,0,0,0,0,0,0
highway         secondary_link/city     r       0x08,2          0       1       2,2,0,0,0,0,0,0,0,0,0,0

highway        tertiary        r    0x03,2        0    1    3,2,0,0,0,0,0,0,0,0,0,0
highway         tertiary/city           r       0x06,2          0       1       3,1,0,0,0,0,0,0,0,0,0,0

highway        unclassified        r    0x42,2        0    1    2,2,0,0,0,0,0,0,0,0,0,0
highway         unclassified/city       r       0x06,2          0       1       2,1,0,0,0,0,0,0,0,0,0,0
highway        residential        r    0x06,2        0    1    2,0,0,0,0,0,0,0,0,0,0,0
highway        road            r    0x0a,2        0    1    2,0,0,0,0,0,0,0,0,0,0,0

surface         compacted               r       0x42,3          0       1       2,0,0,0,0,0,0,0,0,0,0,0
surface         gravel                  r       0x42,3          0       1       2,0,0,0,0,0,0,0,0,0,0,0
surface         unpaved                 r       0x0a,3          0       1       1,0,0,0,0,0,0,0,0,0,0,0
surface         ground                  r       0x0a,3          0       1       1,0,0,0,0,0,0,0,0,0,0,0

highway        living_street        r    0x07,1        0    1    1,0,0,0,0,0,0,0,0,0,0,0
    #см footway
highway        pedestrian        l    0x28,2        0    0
highway        service            r    0x07,2        0    0    1,0,0,0,0,0,0,0,0,0,0,0
highway        construction        l    0x07,3        0    2
    #см footway
highway        steps            l    0x28,1        0    0    0,0,0,0,1,1,1,1,1,0,0,1

highway        unsurfaced        r    0x0a,2        0    1    1,0,0,0,0,0,0,0,0,0,0,0

highway        bridleway        r    0x16,1        0    1    1,0,0,0,1,1,1,1,1,0,0,1
    #см footway
highway        cycleway        l    0x28,1        0    1    0,0,0,0,1,1,1,1,1,0,0,1
    #если указать правильный тип, то проподают на большом приближении
    #не роутинговый т.к. мешает навигации
highway        footway            l    0x28,1        0    0    0,0,0,0,1,1,1,1,1,0,0,1
highway        path            l    0x28,1        0    1    0,0,0,0,1,1,1,1,1,0,0,1
    #см footway

highway        track            r    0x16,1        0    1    1,0,0,0,0,0,0,1,0,0,0,0
tracktype    grade1            r    0x0a,2        0    1    1,0,0,0,0,0,0,1,0,0,0,0
tracktype    grade2            r    0x0a,2        0    1    1,0,0,0,0,0,0,1,0,0,0,0
tracktype    grade3            r    0x0a,2        0    1    1,0,0,0,0,0,0,1,0,0,0,0
tracktype    grade4            r    0x16,2        0    1    0,0,0,0,0,0,0,1,0,0,0,0
tracktype    grade5            r    0x16,2        0    1    0,0,0,0,0,0,0,1,0,0,0,0

railway         platform                r       0x16,1          0       1       0,0,0,0,1,1,1,1,1,0,1,1

route        ferry            r    0x1A,2        0    2    0,0,0,0,0,0,0,0,0,0,0,0

junction    roundabout        r    0x0c,3        0    2    4,3,1,0,0,0,0,0,0,0,0,0
junction        roundabout/city         r       0x0c,3          0       2       3,2,1,0,0,0,0,0,0,0,0,0

landuse        allotments        p    0x03        0    2
landuse         basin                      p    0x41        0    3
landuse        brownfield
landuse        cemetery        p    0x1a        0    1
landuse        commercial        p    0x08        0    2
landuse        construction
landuse        farm            p    0x4e        0    2
landuse         farmland                   p    0x88        0    2
landuse         farmyard                p       0x03            0       2
landuse        forest            p    0x50        0    3
landuse        grass            p    0x0098        0    1
landuse        greenfield
landuse        industrial        p    0x0c        0    2
landuse        landfill
landuse        meadow            p    0x88        0    2
landuse        military        p    0x04        0    1
landuse        quarry
landuse        railway
landuse        recreation_ground
landuse         reservoir                  p    0x40        0    3
landuse        residential        p    0x02,1        0    2
landuse        retail            p    0x08        0    2
landuse         village_green           p       0x17            0       1

leisure        common
leisure        fishing
leisure        garden
leisure         golf_course             p       0x18            0       1
leisure         marina                  p       0x09            0       1
leisure        nature_reserve
leisure        park            p    0x17        0    1
leisure        pitch            p    0x19        0    1
leisure        playground
leisure        sports_centre
leisure        stadium            p    0x19        0    0
leisure        track
leisure        water_park

man_made        cutline                 l       0x16            0       2
man_made        pier                    s       0x15
#занят footway-ми
man_made        pipeline
man_made    reservoir_covered
man_made    wastewater_plant

military    airfield
military    barracks        p    0x04
military    danger_area
military    naval_base        p    0x04
military    range

natural        bay
natural         beach                   p       0x89            0       1       0x5400,0,1
natural        cave_entrance
natural        cliff
natural        coastline        s    0x15,3        0    4
natural        fell
natural        glacier            p    0x4d        0    3
natural        heath            p    0x18        0    2
natural        land
natural        marsh            p    0x51        0    3
natural        mud
natural        scree
natural        scrub            p    0x4f
natural        water            p    0x3f        0    3    0x650d,0,2
natural        wetland            p    0x51        0    3
natural        wood            p    0x50        0    3

place           city                           
place           continent                      
place           county                         
place           hamlet                         
place           island                         
place           locality                       
place           region                         
place           state                          
place           suburb                         
place           town                           
place           village      

power           generation              p       0x0c            0       0
power           line                    l       0x29            0       0
power           minor_line              l       0x29            0       0
power           sub_station             p       0x0c            0       0

railway        rail            l    0x14        0    3
railway        siding            l    0x14        0    1
railway        spur            l    0x14        0    1
railway        yard            l    0x14        0    1

railway        service            l    0x14        0    1
service        siding            l    0x14,1        0    1
service        spur            l    0x14,1        0    1
service        yard            l    0x14,1        0    1


railway        abandoned
railway        disused
railway        light_rail        l    0x14        0    1
railway         monorail                l       0x40        0       2
railway        narrow_gauge        l    0x14        0    1
railway        preserved
railway        subway
railway         tram                    l       0x3f        0       0
railway        turntable

religion        muslim                  p       undef,1         0       0      0xf104
religion        jewish                  p       undef,1         0       0      0xf105
religion        buddhist                p       undef,1         0       0      0xf106
denomination    orthodox                p       undef,1         0       0      0xf101
denomination    catholic                p       undef,1         0       0      0xf102
denomination    protestant              p       undef,1         0       0      0xf103
denomination    evangelical             p       undef,1         0       0      0xf103

route        bus
route        ferry
route        flight
route        ncn
route        pub_crawl
route        ski
route        subsea
route        tour

shop            alcohol                 p       0x6e,3          0       1      0x2e00,0,1
shop            car                     p       0x6e,3          0       1      0x2F07,0,1
shop            car_repair              p       0x6e,3          0       1      0x2f03,0,1
shop            convenience             p       0x6e,3          0       1      0x2e06,0,1
shop            doityourself            p       0x6e,3          0       1      0x2E08,0,1
shop            furniture               p       0x6e,3          0       1      0x2E09,0,1
shop            hairdresser             p       0x6e,3          0       1      0xf602,0,1
shop            kiosk                  
shop            mall                    p       0x08,3          0       1      0x2E04,0,1
shop            supermarket             p       0x08,3          0       1      0x2E04,0,1

sport        10pin
sport        athletics
sport        australian_football
sport        baseball
sport        basketball        p    0x19
sport        boules
sport        bowls
sport        climbing
sport        cricket
sport        cricket_nets
sport        croquet
sport        cycling            p    0x19
sport        dog_racing
sport        equestrian
sport        football        p    0x19
sport        golf            p    0x18
sport        gymnastics        p    0x19
sport        hockey
sport        horse_racing
sport        motor
sport        multi
sport        orienteering
sport        pelota
sport        racquet
sport        rugby
sport        skateboard        p    0x19
sport        skating            p    0x19
sport        skiing            p    0x19
sport        soccer            p    0x19
sport        swimming        p    0x19
sport        table_tennis        p    0x19
sport        tennis            p    0x19

tourism        artwork
tourism        attraction
tourism        camp_site
tourism        caravan_site
tourism        museum
tourism        picnic_site
tourism         zoo                     p    0x17            0       1       0x2C07,0,1

waterway    canal            l    0x1f        0    2
waterway    dam
waterway    dock
waterway    drain
waterway    river            l    0x1f        0    3
waterway    riverbank        p    0x47        0    3
waterway    stream            l    0x18        0    1
waterway    weir

Offline

#1507 2010-10-15 13:17:41

liosha
Member
From: Moscow
Registered: 2008-03-04
Posts: 8,447
Website

Re: Конвертация OSM в Navitel

yankiuzb, очень древние. Обновись до современных

Offline

#1508 2010-10-15 13:19:38

yankiuzb
Member
Registered: 2010-10-11
Posts: 29

Re: Конвертация OSM в Navitel

ссылочку можно, если не трудно

Offline

#1509 2010-10-15 13:21:47

liosha
Member
From: Moscow
Registered: 2008-03-04
Posts: 8,447
Website

Re: Конвертация OSM в Navitel

В первых постах темы

Offline

#1510 2010-10-15 13:34:16

yankiuzb
Member
Registered: 2010-10-11
Posts: 29

Re: Конвертация OSM в Navitel

Так я с первого поста и скачивал, а вот от сюда http://code.google.com/p/osm2navitel/downloads/list не получается  скачать, подскажите как скачать?

Offline

#1511 2010-10-15 13:43:29

liosha
Member
From: Moscow
Registered: 2008-03-04
Posts: 8,447
Website

Re: Конвертация OSM в Navitel

Там же написано: Please use http://osm2navitel.googlecode.com/svn/trunk/

Offline

#1512 2010-10-15 14:07:42

yankiuzb
Member
Registered: 2010-10-11
Posts: 29

Re: Конвертация OSM в Navitel

Только сильно не пинайте, что именно оттуда скачать нужно?

Offline

#1513 2010-10-15 14:14:54

dimuzz
Member
From: Екатеринбург
Registered: 2009-09-10
Posts: 1,843

Re: Конвертация OSM в Navitel

yankiuzb wrote:

Только сильно не пинайте, что именно оттуда скачать нужно?

Все файлы с расширением yml. Подкаталог RoutingOnly не нужен.

P.S. Актуализировал ссылки в первом посте.

P.P.S. Список необходимых для конвертации файлов (сам конвертер и конфигурация для НН) должен выглядеть примерно так:
getbound.pl
mp-postprocess.pl
osm2mp.pl
navitel.yml
nodes-navitel.yml
ways-areas-navitel.yml
ways-lines-navitel.yml
ways-roads-navitel.yml

Last edited by dimuzz (2010-10-15 14:23:07)

Offline

#1514 2010-10-15 14:33:29

yankiuzb
Member
Registered: 2010-10-11
Posts: 29

Re: Конвертация OSM в Navitel

а как быть с файлами poi и poli? они нужны?

Offline

#1515 2010-10-15 14:40:23

dimuzz
Member
From: Екатеринбург
Registered: 2009-09-10
Posts: 1,843

Re: Конвертация OSM в Navitel

dedNikifor wrote:

у навитела есть стандартный тип пои для обозначения автошкол.
сейчас в него что-нибудь попадает?


на сколько я помню, тег в ОСМ так и не принят, но самым логичным на мой взгляд является amenity=driving_school
http://www.openstreetmap.org/browse/node/765943380

можно добавить его в обработку?

Добавил amenity=driving_school как 0xf505 Специальное учебное заведение.
Замечу, что согласия нет ни в официальных картах НН, ни в OSM.
Большинство автошкол на оф. карте отмечено как СУЗ (с тем самым характерным значком - дорожный знак на фоне руля), но встречаются и школы, обозначенные как "автоклубы". В свою очередь, в OSM есть вариант обозначения shop=driving_school, но он встречается на порядок реже, поэтому включил только amenity.

Offline

#1516 2010-10-15 14:42:09

dimuzz
Member
From: Екатеринбург
Registered: 2009-09-10
Posts: 1,843

Re: Конвертация OSM в Navitel

yankiuzb wrote:

а как быть с файлами poi и poli? они нужны?

yankiuzb, нет. Они для старых версий osm2mp.
Полный список файлов, необходимых для конвертации текущей версией osm2mp см. в предыдущем посте.

Offline

#1517 2010-10-15 14:53:36

yankiuzb
Member
Registered: 2010-10-11
Posts: 29

Re: Конвертация OSM в Navitel

Спасибо, а какая последняя версия osm2mp, у меня версия 0.80b  и откуда скачать getbound.pl и
mp-postprocess.pl?

Offline

#1518 2010-10-15 14:55:47

dimuzz
Member
From: Екатеринбург
Registered: 2009-09-10
Posts: 1,843

Re: Конвертация OSM в Navitel

yankiuzb wrote:

Спасибо, а какая последняя версия osm2mp, у меня версия 0.80b  и откуда скачать getbound.pl и
mp-postprocess.pl?

0.90b
Брать из http://osm2mp.googlecode.com/svn/trunk/osm2mp/

Offline

#1519 2010-10-15 15:18:49

yankiuzb
Member
Registered: 2010-10-11
Posts: 29

Re: Конвертация OSM в Navitel

Всё скачал, при конвертации ругается на отсутствие гарминовских yml

Offline

#1520 2010-10-15 15:56:52

yankiuzb
Member
Registered: 2010-10-11
Posts: 29

Re: Конвертация OSM в Navitel

Разобрался, поправил файл osm2mp вместо Garmin
my $config          = [ 'navitel.yml' ];
ввел Navitel
но проблема с односторонним движением осталась

Offline

#1521 2010-10-15 16:02:59

liosha
Member
From: Moscow
Registered: 2008-03-04
Posts: 8,447
Website

Re: Конвертация OSM в Navitel

Значит, или в исходнике дорога не односторонняя, или конвертишь неправильно  smile

Offline

#1522 2010-10-15 16:08:51

yankiuzb
Member
Registered: 2010-10-11
Posts: 29

Re: Конвертация OSM в Navitel

liosha wrote:

Значит, или в исходнике дорога не односторонняя, или конвертишь неправильно  smile

А как правильно? Если бы не правильно конвертировал, то вообще ничего не получилось бы.
Конвертирую так osm2mp.pl --norestrictions --nooneway  --navitel uzbekistan.osm > uzbekistan.mp
а в исходнике всё правильно

Offline

#1523 2010-10-15 16:09:58

yankiuzb
Member
Registered: 2010-10-11
Posts: 29

Re: Конвертация OSM в Navitel

Блин, только что сам заметил --nooneway, спасибо за наводку

Last edited by yankiuzb (2010-10-15 16:13:27)

Offline

#1524 2010-10-15 21:51:19

dedNikifor
Member
From: Белгород
Registered: 2009-09-11
Posts: 3,419

Re: Конвертация OSM в Navitel

Дим, а ты заменил обработку shop=adult на shop=erotic ?

Offline

#1525 2010-10-16 11:24:22

vsfiles
Member
Registered: 2010-10-16
Posts: 2

Re: Конвертация OSM в Navitel

Добрый день!

Не подскажите, в чем может быть проблема конвертации:
C:\Distr\osm2mp convert>osm2mp.pl map.osm > map.mp

---|   OSM -> MP converter  0.90b   (c) 2008-2010  liosha, xliosha@gmail.com

Loading configuration...  YAML Error: Expected separator '---'
   Code: YAML_PARSE_ERR_NO_SEPARATOR
   Line: 4
   Document: 2
at C:/Perl/site/lib/YAML.pm line 36

Last edited by vsfiles (2010-10-16 11:25:20)

Offline

Board footer

Powered by FluxBB