Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

Im using Dymo (https://github.com/migurski/Dymo/) to generate automatic point labels placement. The output of Dymo is a geojson containing MBRs of the positioned labels with the names of the labels in the attributes table. I would like to convert the geojson table to a MapInfo text object table to finish the placement manually in MapInfo.

I cant find any info about that question.

Thank you for your help!

Edit: Sample of Dymo output in JSON:

{
  "type": "FeatureCollection", 
  "features": [
{
  "geometry": {
    "type": "Polygon", 
    "coordinates": [
      [
        [
          -74.033500000000004, 
          45.677299999999995
        ], 
        [
          -74.028294368743914, 
          45.677299999999995
        ], 
        [
          -74.028294368743914, 
          45.677506895418496
        ], 
        [
          -74.033500000000004, 
          45.677506895418496
        ], 
        [
          -74.033500000000004, 
          45.677299999999995
        ]
      ]
    ]
  }, 
  "type": "Feature", 
  "properties": {
    "preferred_placement": "", 
    "overlaps": 0, 
    "font_size": 6, 
    "name": "Label Name", 
    "font_file": "Fonts/arialbd.ttf", 
    "point_size": 0, 
    "justified": "left"
  }
}, 
{
  "geometry": {
    "type": "Polygon", 
    "coordinates": [
      [
        [
          -74.030500000000004, 
          45.768493442022979
        ], 
        [
          -74.025878017425526, 
          45.768493442022979
        ], 
        [
          -74.025878017425526, 
          45.768700000000003
        ], 
        [
          -74.030500000000004, 
          45.768700000000003
        ], 
        [
          -74.030500000000004, 
          45.768493442022979
        ]
      ]
    ]
  }, 
share|improve this question
    
Are you able to post some sample output from Dymo? –  om_henners Feb 20 '13 at 23:21
    
Yes, I put the sample in the question. –  DemarsM Feb 26 '13 at 15:33
    
Actually, I can do the conversion with FME, but any other solution would be appreciated. –  DemarsM Feb 26 '13 at 15:48
add comment

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.