My tutorials: Using GIMP to Create an Artistic Regional Map ~ All My Tutorials
My GIMP Scripts: Rotating Brush ~ Gradient from Image ~ Mosaic Tile Helper ~ Random Density Map ~ Subterranean Map Prettier ~ Tapered Stroke Path ~ Random Rotate Floating Layer ~ Batch Image to Pattern ~ Better Seamless Tiles ~ Tile Shuffle ~ Scale Pattern ~ Grid of Guides ~ Fractalize path ~ Label Points
My Maps: Finished Maps ~ Challenge Entries ~ My Portfolio: www.cartocopia.com
Are you saying that Gimp needs to have some sort of python plug-in or just that Python must be installed on my system?
A Path Length script for GIMP would be awesome! (I'm not partial to PS, I just gave it a try because it's there. )
I took a look at the Universal ruler. It's a little clumsy, but it is functional. The scale must be reconfigured if the map zoom changes. Thanks for finding it.
I don't have Illustrator. Thanks for the info though.
That's not a bad idea!
I . . . umm . . what? LOL. My Photoshop skills are minimal and I'm a cartographic newb.
Last edited by CyrusStonecypher; 02-11-2010 at 07:52 AM.
Can you make a path in Photoshop? Select the Pen tool. Click where you want the path to begin and then click where you want it to end.
Next select the Type tool and click in the beginning of the path. Now you can write on the path. Wite a number (probably "0") and then press the tab key once. Write another number (probably "1"). Continue until you're satisfied. The numbers should now be evenly distributed along the path.
With the Pen tool you can add more anchor points on the path.
Then use the Direct selection tool to select and move those new anchor points.
My sites: http://www.facebook.com --- http://www.stormring.com --- http://www.fantasymaps.net --- http://www.megatongames.com --- http://www.darktowershop.com
My finished maps: here
Wouldn't that just place each number one tab's length away from the previous number's end, and not from the centre of the previous number? That is to say that once you start getting into double digits especially, it'll offset it quite badly.
I know that you can overlay an image onto google earth, and you can use that to measure distances. It's rendered entirely useless if your map is not of an entire world, of course. If you've got a world map, however, it should work fine. If you know Earth's dimensions and you know your own world's dimensions, it's a simple ratio change. You could even place the continent map onto Google Earth and find somewhere that is supposed to be roughly the same size as this place (unless you don't know. In which case, I'm sorry I'm being useless here. :s).
Yes! That is me bleeding in my avatar!
|Vincent Alliath.com (under construction)|Vincent Alliath on deviantART.com|
My sites: http://www.facebook.com --- http://www.stormring.com --- http://www.fantasymaps.net --- http://www.megatongames.com --- http://www.darktowershop.com
My finished maps: here
You need python installed, and gimp installed with python support to use python plugins. It isn't simple in windows, but I can point you in the right direction if desired.
regarding a script, Fencepost has a path animation script suite (scripts here, tutorial here) that includes a "Path Details" function (right click on a path and select Path Details that will give you the length in pixels, the number of points and the closed status.
-Rob A>
My tutorials: Using GIMP to Create an Artistic Regional Map ~ All My Tutorials
My GIMP Scripts: Rotating Brush ~ Gradient from Image ~ Mosaic Tile Helper ~ Random Density Map ~ Subterranean Map Prettier ~ Tapered Stroke Path ~ Random Rotate Floating Layer ~ Batch Image to Pattern ~ Better Seamless Tiles ~ Tile Shuffle ~ Scale Pattern ~ Grid of Guides ~ Fractalize path ~ Label Points
My Maps: Finished Maps ~ Challenge Entries ~ My Portfolio: www.cartocopia.com
We talked before about measuring the amount of area within a map and we came up with a cool method which was really fast. I think the same can be applied to a length of path too.
If you create a new layer on top of the map and then draw with a known pixel width brush like 10 or 20 pixels wide in connecting solid lines - i.e. not dots - in black. Then once done you take the map layer and fill it solid white so that you have just a black and white image. No greyscale - contrast enhance 100% if you have to.
Now the nice feature PSP and Gimp has and I am sure PS has is this histogram window where if you hover your mouse in the histogram then it tells you how much as a percentage of the screen is white or black. So take number, multiply by image width x image height and that gives number of line pixels in image. Then divide by the 10 or 20 for the line width and that gives line length in pixels. Multiply by pixels per m scale and thats real length on map.
Rob did you ever Gimp up that area script ? If you did then its just area / 10 or 20 depending on the line width.
I took another look at Gimp's Python requirements and found that I was missing the pyGtk. Even with that corrected (Python-fu now shows up in the filters list) the first "measure active path" .py I downloaded didn't work. I moved on to the script you suggested and it does work. I have to determine the scale of distance units per pixel and perform some calculations, but it's still better than guessing.
This works too. I used a 1 pixel wide brush and then I just took the number of black pixels and multiplied by pixels per mile (we still love our imperial units here in the U.S.).
Is there any need to use a brush wider than 1 pixel when determining length?
Last edited by CyrusStonecypher; 02-12-2010 at 01:42 PM.
Not really if PS counts the pixels up. Mine showed a percentage black or white. By using thicker brush it was more accurate cos mine was something like 0.7% or something. With a 10pix wide brush it went to 6.7%. Also if you get the odd crooked bit of line then it matters 1/10th as much. If you cross over lines then you would have to compensate a bit tho cos you have missed one crossing points worth.
Also if you use a square brush instead of a round one then it will naturally compensate for travelling at 45 degrees where your covering 1.4 x as much distance per pixel as going horz or vert because the square brush stretched out at 45 deg is wider than a round one.