Results 1 to 6 of 6

Thread: How to get the area taken by an object in Inkscape or the Gimp

  1. #1
    Guild Novice Nauryl's Avatar
    Join Date
    Feb 2010
    Location
    Budapest, Hungary
    Posts
    9

    Question How to get the area taken by an object in Inkscape or the Gimp

    I'm just wondering if there is a way to get an area taken by my continents or islands. Somewhere I have read that Photoshop can do it in its histogram window, but I haven't seen such stuff in Inkscape or Gimp (Inkscape would be better, tho).

    Thanks in advance!

  2. #2
    Guild Expert Greason Wolfe's Avatar
    Join Date
    Dec 2008
    Location
    Tigard (and Florence) Oregon
    Posts
    1,770

    Default

    This question has popped up a few times. One of these links might have the answer you're looking for

    http://www.cartographersguild.com/sh...lculating+Area

    http://www.cartographersguild.com/sh...Calc-Software-!

    http://www.cartographersguild.com/sh...lculating+Area

    Hope that helps.

    GW
    GW

    One's worth is not measured by stature, alone. By heart and honor is One's true value weighed.

    Current Non-challenge WIP : Beyond Sosnasib
    Current Lite Challenge WIP : None
    Current Main Challenge WIP : None
    Completed Maps : Various Challenges

  3. #3
    Guild Novice Nauryl's Avatar
    Join Date
    Feb 2010
    Location
    Budapest, Hungary
    Posts
    9

    Default

    Oh, maybe my search needs some improvement Thanks for the links. I still wonder if it's possible with Inkscape, so I don't have to copy my vector image to Gimp every time I resize stuff...

  4. #4
    Software Dev/Rep Hai-Etlik's Avatar
    Join Date
    May 2009
    Location
    48° 28′ N 123° 8′ W
    Posts
    1,333
    Blog Entries
    1

    Default

    Implementing a a completely general mechanism for calculating the area of a closed SVG path would be a serious pain. I might make an attempt at something that could do it for a limited class of paths (strict polygons)

    If you want to try something a bit more exotic, you could try developing your raw map data in a GIS like QuantumGIS, then export to SVG and 'pretty it up' in Inkscape. Then you would have access to tools like area calculation, overlay operations, projection transformation, etc. It does mean learning to use another, fairly complex bit of software though.

  5. #5
    Guild Novice Nauryl's Avatar
    Join Date
    Feb 2010
    Location
    Budapest, Hungary
    Posts
    9

    Default

    I already have the solution in my mind, even for Bezier-curves (although it's really a pain to program it), I just wondered if Inkscape already knows it. Maybe I take a deep breath and dive into Inkscape extension writing. Thanks anyways.

  6. #6
    Guild Novice Nauryl's Avatar
    Join Date
    Feb 2010
    Location
    Budapest, Hungary
    Posts
    9

    Link

    Now that I have the ultimate solution in my head, I found the answer to my question... Inkscape does know it! Extension > Visualize Path > Measure Path... does the trick. It can measure both the perimeter and the area. How noob was I not finding this yesterday

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •