Welcome to Dream.In.Code
Getting Help is Easy!

Join 86,255 Programmers. There are 2,093 online right now! Ask your question and get quick answers from Dream.In.Code experts. Join the #1 programming help community on the internet! Registration is fast and FREE... Join Now!

Chat LIVE With a Expert
Powered by LivePerson.com

Register to Make This Box Go Away!

Geocode

 
Reply to this topicStart new topic

Geocode

lavish
post 9 Apr, 2008 - 09:31 AM
Post #1


New D.I.C Head

*
Joined: 9 Apr, 2008
Posts: 2



I want to make a new project for perl..
so can i have a perl scripts which can help me out to display the perl code..
for maps
nd output in csv format and array
User is offlineProfile CardPM
Go to the top of the page
+Quote Post


girasquid
post 9 Apr, 2008 - 10:51 AM
Post #2


Barbarbar

Group Icon
Joined: 3 Oct, 2006
Posts: 953

Okay.

What problem are you having with your new project? Can you show us some code that isn't working?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

KevinADC
post 9 Apr, 2008 - 03:30 PM
Post #3


D.I.C Head

Group Icon
Joined: 23 Jan, 2007
Posts: 168

Your question is not even a question. I have no idea what you are even asking.

First thing to do is ask a question that can be answered. So rethink your question and provide some details and any code you have written so far or explain what you are trying to do at least.

User is offlineProfile CardPM
Go to the top of the page
+Quote Post

lavish
post 9 Apr, 2008 - 09:50 PM
Post #4


New D.I.C Head

*
Joined: 9 Apr, 2008
Posts: 2

the thing is i want to have an xml output like:
<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://earth.google.com/kml/2.0">
<Response>
<name>26450 ascension drive,Los Altos, CA 94022</name>
<Status>
<code>200</code>
<request>geocode</request>
</Status>
<Placemark id="p1">
<address>26450 Ascension Dr, Los Altos, CA 94022, USA</address>
<AddressDetails Accuracy="8" xmlns="urn:oasis:names:tc:ciq:xsdschema:xAL:2.0">
<Country>
<CountryNameCode>US</CountryNameCode>
<AdministrativeArea>
<AdministrativeAreaName>CA</AdministrativeAreaName>
<SubAdministrativeArea>
<SubAdministrativeAreaName>Santa Clara</SubAdministrativeAreaName>
<Locality>
<LocalityName>Los Altos</LocalityName>
<Thoroughfare>
<ThoroughfareName>26450 Ascension Dr</ThoroughfareName>
</Thoroughfare>
<PostalCode>
<PostalCodeNumber>94022</PostalCodeNumber>
</PostalCode>
</Locality>
</SubAdministrativeArea>
</AdministrativeArea>
</Country>
</AddressDetails>
<Point>
<coordinates>-122.142060,37.383113,0</coordinates>
</Point>
</Placemark>
<Placemark id="p2">
<address>26451 Ascension Dr, Los Altos, CA 94022, USA</address>
<AddressDetails Accuracy="8" xmlns="urn:oasis:names:tc:ciq:xsdschema:xAL:2.0">
<Country>
<CountryNameCode>US</CountryNameCode>
<AdministrativeArea>
<AdministrativeAreaName>CA</AdministrativeAreaName>
<SubAdministrativeArea>
<SubAdministrativeAreaName>Santa Clara</SubAdministrativeAreaName>
<Locality>
<LocalityName>Los Altos</LocalityName>
<Thoroughfare>
<ThoroughfareName>26451 Ascension Dr</ThoroughfareName>
</Thoroughfare>
<PostalCode>
<PostalCodeNumber>94022</PostalCodeNumber>
</PostalCode>
</Locality>
</SubAdministrativeArea>
</AdministrativeArea>
</Country>
</AddressDetails>
<Point>
<coordinates>-122.143020,37.382121,0</coordinates>
</Point>
</Placemark>
</Response>
</kml>






here we have several placemarks, specified..so i want to make a script in perl as geocode.pl script file and wnt to access it
into a browser where i can c the output containin address,long,lati,code aslo an accuracy level.....
as we have in google maps....
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

KevinADC
post 10 Apr, 2008 - 12:40 AM
Post #5


D.I.C Head

Group Icon
Joined: 23 Jan, 2007
Posts: 168

http://search.cpan.org/search?query=google+maps&mode=all
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

numberwhun
post 14 Apr, 2008 - 06:06 AM
Post #6


New D.I.C Head

*
Joined: 28 Mar, 2008
Posts: 6

QUOTE(lavish @ 9 Apr, 2008 - 09:50 PM) *

the thing is i want to have an xml output like:
<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://earth.google.com/kml/2.0">
<Response>
<name>26450 ascension drive,Los Altos, CA 94022</name>
<Status>
<code>200</code>
<request>geocode</request>
</Status>
<Placemark id="p1">
<address>26450 Ascension Dr, Los Altos, CA 94022, USA</address>
<AddressDetails Accuracy="8" xmlns="urn:oasis:names:tc:ciq:xsdschema:xAL:2.0">
<Country>
<CountryNameCode>US</CountryNameCode>
<AdministrativeArea>
<AdministrativeAreaName>CA</AdministrativeAreaName>
<SubAdministrativeArea>
<SubAdministrativeAreaName>Santa Clara</SubAdministrativeAreaName>
<Locality>
<LocalityName>Los Altos</LocalityName>
<Thoroughfare>
<ThoroughfareName>26450 Ascension Dr</ThoroughfareName>
</Thoroughfare>
<PostalCode>
<PostalCodeNumber>94022</PostalCodeNumber>
</PostalCode>
</Locality>
</SubAdministrativeArea>
</AdministrativeArea>
</Country>
</AddressDetails>
<Point>
<coordinates>-122.142060,37.383113,0</coordinates>
</Point>
</Placemark>
<Placemark id="p2">
<address>26451 Ascension Dr, Los Altos, CA 94022, USA</address>
<AddressDetails Accuracy="8" xmlns="urn:oasis:names:tc:ciq:xsdschema:xAL:2.0">
<Country>
<CountryNameCode>US</CountryNameCode>
<AdministrativeArea>
<AdministrativeAreaName>CA</AdministrativeAreaName>
<SubAdministrativeArea>
<SubAdministrativeAreaName>Santa Clara</SubAdministrativeAreaName>
<Locality>
<LocalityName>Los Altos</LocalityName>
<Thoroughfare>
<ThoroughfareName>26451 Ascension Dr</ThoroughfareName>
</Thoroughfare>
<PostalCode>
<PostalCodeNumber>94022</PostalCodeNumber>
</PostalCode>
</Locality>
</SubAdministrativeArea>
</AdministrativeArea>
</Country>
</AddressDetails>
<Point>
<coordinates>-122.143020,37.382121,0</coordinates>
</Point>
</Placemark>
</Response>
</kml>






here we have several placemarks, specified..so i want to make a script in perl as geocode.pl script file and wnt to access it
into a browser where i can c the output containin address,long,lati,code aslo an accuracy level.....
as we have in google maps....


Well as girasquid said, lets see your code. One of the rules of this site (that you can see when you post), is "You Must Show Us Your Code". Please hsow your code and please enclose it in code tags. That way, we can see what you have tried and can then guide you in the right direction.

Regards,

Jeff


User is offlineProfile CardPM
Go to the top of the page
+Quote Post

KevinADC
post 14 Apr, 2008 - 03:28 PM
Post #7


D.I.C Head

Group Icon
Joined: 23 Jan, 2007
Posts: 168

ahh.... we have a LLama for a member! wink2.gif

This post has been edited by KevinADC: 14 Apr, 2008 - 03:28 PM
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 5/16/08 09:31AM

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

Bye Bye Ads

Free DIC T-Shirt

T-Shirt Example

Related Sites

Monthly Drawing

Thumb Drive

Partners

Top Contributors

Top 10 Kudos This Month