Thank you.

1) Since there was no mention of recreating the geocoded database, I
assumed that it was somehow linked; it clearly already exists.  Can
Google staff confirm ... the database has to be re-created?  (Malcolm,
maybe you are with Google; not clear. :) )   My brief look suggests
this might be a considerable task?  what are the possibilities of
moving the geocoded database to the source files download section?

-- failing that, does anyone have a small ready to use sample?

2) But maybe the database availability is not the entire issue ... in
looking at the downloadable files, I note that many have relative file
coding to '/p/...' and '/hosting ...' folders.  Is there code that
directs this to the correct URL, already embedded in the downloadable
PubSchools files? ... or do all such references need to be re-built?

Malcolm, have you gone thru the steps to migrate these files and get
PubSchools into operation on an independent server?  I could really
use the help from someone who has done that.

I really appreciate your help.

Warren

On Nov 24, 1:45 pm, Malcolm MacKinnon <[email protected]> wrote:
> Have you geocoded your school addresses in the appengine data store? You
> need to do this first, and here's a good tool to 
> use:http://code.google.com/p/geopy/<http://www.google.com/url?sa=D&q=http://code.google.com/p/geopy/&usg=...>
>
> Read the GettingStarted section.
>
> Using the above tool, you can write a python script to put your lat, lng
> values in the datastore .  Read this, and it will show you how.
>
> http://pypi.python.org/pypi/geomodel<http://www.google.com/url?sa=D&q=http://pypi.python.org/pypi/geomodel...>
>
> I assume your geomodel looks like this:
>
> class PublicSchool(GeoModel):
>   """A location-aware model for public school entities.
>
>   """
>   school_id = db.StringProperty()
>   name = db.StringProperty()
>   address = db.StringProperty()
>   city = db.StringProperty()
>   state = db.StringProperty()
>   zip_code = db.IntegerProperty()
>   enrollment = db.IntegerProperty()
>   phone_number = db.StringProperty()
>   locale_code = db.IntegerProperty()
>   school_type = db.IntegerProperty()
>   school_level = db.IntegerProperty()
>   grades_taught = db.ListProperty(int)
>
> Geocoding the address and putting the values in the datastore will add two
> fields to the GeoModel above,
>
> 1) location
> 2) location_geocells
>
> Then, if you query a particular location, like Los Angeles, and you have
> put
> public schools with a Los Angeles address in the appengine datastore, the
> markers should appear on your map.
>
> I hope this helps.
>
> On Wed, Nov 24, 2010 at 8:47 AM, kualoa1 <[email protected]> wrote:
> > I hope that someone can help me with some basics on getting the
> > pubschools app running on my server.
>
> > 1) I have copied all files as described here
> >http://code.google.com/p/geomodel/source/browse/trunk/demos/pubschools
> > to a folder pubschools on my server taking care to get folder correct.
>
> > 2) I modified the page displayed whenhttp://geomodel-demo.appspot.com/
> > opens to include my API key and saved the file as schools.htm.
>
> > 3) I now point the browser to schools.htm and see only text.
>
> > I am missing something.  but what? any help greatly appreciated.
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Google App Engine" group.
> > To post to this group, send email to [email protected].
> > To unsubscribe from this group, send email to
> > [email protected]<google-appengine%[email protected]>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/google-appengine?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to