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=AFQjCNFNi59voKwO8hRt3TpDGTSDYP8bVA>


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&usg=AFQjCNHQyuZlVbC8ivjI__0kKa_0WJcbNA>


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 when http://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