<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2912" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=941225306-07072006><FONT face=Arial
color=#0000ff size=2>HI</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=941225306-07072006><FONT face=Arial
color=#0000ff size=2>Read the ShapeFile Specification Document from ESRI <A
href="http://shapelib.maptools.org/dl/shapefile.pdf">http://shapelib.maptools.org/dl/shapefile.pdf</A></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=941225306-07072006><FONT face=Arial
color=#0000ff size=2>Then take a look at the API Documentation of the
Shapelib</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=941225306-07072006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=941225306-07072006><FONT face=Arial
color=#0000ff size=2>For converting this to XML you should think of using for
the geometriy a format like GML</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=941225306-07072006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=941225306-07072006><FONT face=Arial
color=#0000ff size=2>One of the mainparts of your app is to 'parse' the
shape.shx file and birng the stored geometry to the tags in the XML
File.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=941225306-07072006><FONT face=Arial
color=#0000ff size=2>Therefroe you need to know how to write and read(parse) XML
(Xerces etc.)</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=941225306-07072006><FONT face=Arial
color=#0000ff size=2>With the shapelib your are able to read the .dbf File also
so that you can bring up this Attributes (or Information) up to the
tags.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=941225306-07072006><FONT face=Arial
color=#0000ff size=2>Each tuppel in the dbf stands for one feature in the
shapefile</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=941225306-07072006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=941225306-07072006><FONT face=Arial
color=#0000ff size=2>Hope that helps a little bit as basics for the
start</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=941225306-07072006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=941225306-07072006><FONT face=Arial
color=#0000ff size=2>Best Regards</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=941225306-07072006><FONT face=Arial
color=#0000ff size=2>Christopher Schmidt</FONT></SPAN></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Frutiger 45 Light'"><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Frutiger 45 Light'"><FONT
face=Arial></FONT><FONT face=Arial></FONT><FONT face=Arial></FONT><FONT
face=Arial></FONT></SPAN>
<DIV align=left><FONT face=Arial color=#0000ff></FONT><BR></SPAN><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Frutiger 45 Light'">+------------------------------------------------------------------------------------------------+<BR></DIV></SPAN>
<DIV></DIV></SPAN>
<DIV><FONT face=Arial size=2><STRONG>GIS<FONT color=#3333cc>tec</B></FONT> GmbH
- Neue Wege mit GIS</STRONG></FONT><SPAN
style="mso-tab-count: 6">
</SPAN><BR>Ein Spin-Off des Fraunhofer IGD<SPAN
style="mso-tab-count: 10">
</SPAN><BR>Christopher Schmidt<SPAN
style="mso-tab-count: 8">
</SPAN><BR>Diplom Informatiker<BR>Entwicklung & Beratung
Rundeturmstraße 12<SPAN
style="mso-tab-count: 2">
</SPAN><SPAN
style="mso-tab-count: 1">
</SPAN><BR>Tel +49-(0)6151-155
254 D-64283
Darmstadt<SPAN
style="mso-tab-count: 3">
</SPAN><BR>Fax +49-(0)6151-155
259
</SPAN><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Frutiger 45 Light'; mso-bidi-font-size: 12.0pt"><A
href="mailto:christopher.schmidt@gistec-online.de"><SPAN
style="mso-bidi-font-size: 10.0pt">mailto:christopher.schmidt@gistec-online.de</SPAN></A><SPAN
style="mso-tab-count: 1"> </SPAN><BR><A
href="http://www.gistec-online.de/" target=_blank><SPAN
style="mso-bidi-font-size: 10.0pt"><FONT
color=#800080>http://www.gistec-online.de</FONT></SPAN></A></SPAN><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Frutiger 45 Light'">
</SPAN><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Frutiger 45 Light'; mso-bidi-font-size: 12.0pt"><A
href="http://www.go-gis.de/" target=_blank><SPAN
style="mso-bidi-font-size: 10.0pt">http://www.go-gis.de</SPAN></A><SPAN
style="mso-tab-count: 3">
</SPAN><BR></SPAN><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Frutiger 45 Light'">+------------------------------------------------------------------------------------------------+<BR></SPAN></DIV></SPAN>
<DIV> </DIV>
<DIV></DIV>
<DIV></DIV></B></SPAN></SPAN>
<DIV> </DIV><BR>
<DIV class=OutlookMessageHeader lang=de dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> shapelib-bounces@lists.maptools.org
[mailto:shapelib-bounces@lists.maptools.org] <B>On Behalf Of
</B>??<BR><B>Sent:</B> Friday, July 07, 2006 3:51 AM<BR><B>To:</B>
shapelib@lists.maptools.org<BR><B>Subject:</B> [Shapelib] Hello,how to transform
the shp file to xml<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV>Hi All,I am new to shapelib.</DIV>
<DIV>Now my assignment is that I should transfomr the shp,shx,dbf file to xml
file.</DIV>
<DIV>How I can do that.Thanks in advance!<BR clear=all><BR>-- <BR>Best
Regard!<BR> Haze
</DIV></BODY></HTML>