Re: GeoDjango and shapefiles

2012-09-25 Thread Coulson Thabo Kgathi
but what u sayin is possible seems to be exactly what i want to do

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-users/-/43S6ZQ_viHkJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: GeoDjango and shapefiles

2012-09-25 Thread Coulson Thabo Kgathi
I think the problem is how do i do this whr do i get infor on how to do it, 
thsi server

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-users/-/akOd33EuxG8J.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: GeoDjango and shapefiles

2012-09-25 Thread Jani Tiainen

25.9.2012 11:53, Coulson Thabo Kgathi kirjoitti:

can geoDjango produce maps offline though, because i am trying to have
an app that shows locations of places using markers on the map. OFFLINE
WITHOUT INTERNET

--
You received this message because you are subscribed to the Google
Groups "Django users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/django-users/-/OswCiPt2fyIJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en.


You don't need internet to show maps using different map servers and 
browser. You can still share everything from localhost (as you do while 
developing apps). It's still easiest way to do things.


I think gdal/ogr packages can create shapefiles from database if needed. 
Don't know how symbology works there.


--
Jani Tiainen

- Well planned is half done and a half done has been sufficient before...

--
You received this message because you are subscribed to the Google Groups "Django 
users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: GeoDjango and shapefiles

2012-09-25 Thread Coulson Thabo Kgathi
can geoDjango produce maps offline though, because i am trying to have an 
app that shows locations of places using markers on the map. OFFLINE 
WITHOUT INTERNET

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-users/-/OswCiPt2fyIJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: GeoDjango and shapefiles

2012-09-20 Thread Jani Tiainen

20.9.2012 17:36, Coulson Thabo Kgathi kirjoitti:

Hi guys i want to use geodjango for an application that gives map
locations but offline using shapefiles and geodjango, any information
that i can be refered to would be appreciated. I dont want to use google
maps because its wil be used offline

thank you

--
You received this message because you are subscribed to the Google
Groups "Django users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/django-users/-/u2kiG0kJd0UJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en.


There is actually more than one way to do this. And without further 
knowledge what you're trying to show and where it's hard to give more 
details.


For example generating maps with shapefiles there is far better 
solutions than GeoDjango (GeoDjango is great for querying spatially and 
modifying data) like Mapnik or Mapserver on serverside. On client side 
there is practically only one really working solution - Openlayers.



--
Jani Tiainen

- Well planned is half done and a half done has been sufficient before...

--
You received this message because you are subscribed to the Google Groups "Django 
users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: GeoDjango and shapefiles

2012-09-20 Thread George Silva
Hi Coulson,

GeoDjango is just Django. You can write an application that checks upon
initialization which type of environment it's located and then you can set
the DATABASES property on settings.py.

Using the technique I've told you above, you can store GIS data in two
databases (for web application you can use PostgreSQL with PostGIS) and for
offline use SQLite.

Natively, Django does not speaks "shapefile", so you will need to create a
routine to export your data to shapefile.

Anyways, you can always export your data to SQLite databases and use
GeoDjango to render those data to OpenLayers in GeoJSON. Should work on any
modern smartphone.

On Thu, Sep 20, 2012 at 11:36 AM, Coulson Thabo Kgathi
wrote:

> Hi guys i want to use geodjango for an application that gives map
> locations but offline using shapefiles and geodjango, any information that
> i can be refered to would be appreciated. I dont want to use google maps
> because its wil be used offline
>
> thank you
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/django-users/-/u2kiG0kJd0UJ.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>



-- 
George R. C. Silva

Desenvolvimento em GIS
http://geoprocessamento.net
http://blog.geoprocessamento.net

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



GeoDjango and shapefiles

2012-09-20 Thread Coulson Thabo Kgathi
Hi guys i want to use geodjango for an application that gives map locations 
but offline using shapefiles and geodjango, any information that i can be 
refered to would be appreciated. I dont want to use google maps because its 
wil be used offline

thank you

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-users/-/u2kiG0kJd0UJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.