Skip to content

map dataset xml file problems  #31

@saha223311

Description

@saha223311

@alexzakharov1980

1) Отсутствие <ref_id> [решено]

Отсутствует тег <ref_id> у Spatial объектов: CompositeEdge и IsolatedPoint

Пример

. . .
<ref_type>125</ref_type>
<orientation>2</orientation>
<interior>-1</interior>
<composite_edge>
   <sp2sp_ref>
      <ref_id>51</ref_id>
      <ref_type>120</ref_type>
. . .

Ожидается:

. . .
<ref_type>125</ref_type>
<orientation>2</orientation>
<interior>-1</interior>
<composite_edge>
   <ref_id>7</ref_id> <!-- id tag --> 
   <sp2sp_ref>
      <ref_id>51</ref_id>
      <ref_type>120</ref_type>
. . .
...
<isolated_point>
  <ref_id>
  ...
  

2) При парсинге файла map dataset xml присутствует тег <interior> с непонятным для нас значением.

Для создания Surface Spatial требуется указать, какие у него sp2sp поля относятся к exterior ring, а какие – к interior ring

. . .
 <scamin>-1</scamin>
     <scamax>0</scamax>
     <surface>
       <ref_id>374</ref_id>
       <sp2sp_ref>
         <ref_id>331</ref_id>
         <ref_type>125</ref_type>
         <orientation>1</orientation>
         <interior>1</interior>
. . .

Metadata

Metadata

Labels

MCXMap Catalog Xmlhelp wantedExtra attention is needed

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions