Forum Moderators: phranque

Message Too Old, No Replies

Image Generation on the Fly

What are the options?

         

lorax

5:22 pm on Dec 8, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



I know about SVG, and PHP's Image lib. What are some of the other options for generating images from known coordinate data?

andreasfriedrich

5:32 pm on Dec 8, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



PerlMagick or ImageMagick, Postscript, (La)TeX

Your choice would probably depend on what you are familiar with, whether you want to use a vector or bitmap format, whether you want to use the images for printing as well, etc.

Andreas

lorax

5:47 pm on Dec 8, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Hello Andreas - how's class going?

I'm actually going to do something I've never done before. Take GIS property parcel info, saved as XML datasets, and then use some method to render that information to screen. The criteria is that it must be fast and open source.

I've figured out how I can read the XML files and parse x,y coords to screen easily enough though the arc information seems a bit trickier. But I get the feeling I may be rebuilding the wheel.

andreasfriedrich

6:03 pm on Dec 8, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hey lorax, you have to excuse my lack of knowledge here. Iīm just a lowly little, wannabe lawyer after all (last exam for this year on tuesday and five more in February).

What is GIS property parcel info?

Andreas

lorax

6:23 pm on Dec 8, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



GIS (Geographic Information Systems) basically the ability to display data in a mapped format. Property parcels are what you own and build a house on. ;)

So what I'm looking to do is blend the two together for example: using GIS I know where utility lines, buildings, trees, and even bear and deer habitats lie. I can overlay this information (in the form of a 2D map) onto parcel platts (the surveyed information that describes a property).

There are only a handful of companies in the world that have software that allows you to work with GIS information. Their packages are expensive and as you can imagine, any subsequent tools they offer, like producing GIS map information on a webpage - are also expensive. But their data files, the files that make up the information they work with graphically, are accessible. So I want to write a script that will convert their data to XML format and then be able to both display it in the webpage as well as make it available to other XML based apps using XML-RPC or SOAP.

toadhall

6:41 pm on Dec 8, 2002 (gmt 0)

10+ Year Member



Have you already looked at Scalable Vector Graphics?

[xml.com...]
[w3.org...]
[w3.org...]

<sorry>just re-read your initial post</sorry>

andreasfriedrich

6:48 pm on Dec 8, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Thanks for the explanation lorax. This seems like a great and exciting programming task. For such maps I believe either SVG or Flash to be most suitable.

As for rebuilding the wheel thatīs exactly what you are trying to do considering that as you write tools are available but just too expensive. And to be sure there is nothing wrong about that, GNU did little else.

Andreas

lorax

6:53 pm on Dec 8, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Thanks Guys,
SVG is a possibility when it comes to making the maps more interactive though I'm beginning to see other possibilities using strictly PHP. The input as well as the display of data will become necessary too.

You're right Andreas, it is an interesting project. Flash is another option but I'm trying to keep away from plug-ins and proprietary delivery systems.

rcjordan

6:58 pm on Dec 8, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Pushed by msgraph re map content for one of my own projects, I'm just beginning to look at GIS. This seems worth further exploration:
mapserver [mapserver.gis.umn.edu]
and
mapserver workbench [msworkbench.sourceforge.net]

lorax

7:01 pm on Dec 8, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Thanks rcjordan,
I had forgotten about them. That is definately worth looking into.

Perhaps we could discuss details in the Supporters Forum and help each other out if you think it might be of use.

lorax

10:37 pm on Dec 8, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Update - playing around with PHP image lib and was able to generate images reasonably quickly. Pretty snazzy stuff - I can see all sorts of applications for it!