5

I have 3 three shapefiles and would like to upload all of them and project the result in GeoDjango admin.

a) state.shp (for the shape of a state)
b) boundary.shp (to identify a specific portion in the state.shp)
c) beat.shp (to further sub divide the region obtained from boundary.shp file)

What I want to do is the following:

Uploading state.shp gives the following result.

enter image description here

Uploading boundary.shp gives the following result:

enter image description here Please note new operations are performed on results obtained by previous operations. shapefile can be of different types (i.e poly, lines or points).

And similarly any other shapefile file which is uploaded should be projected. After following the official documentation I can project single shapefile in GeoDjango admin.

If I create separate models for each shapefile I will not get combined result.

How can I display result of multiple shapefile in GeoDjango?

EDIT: I want my end result to look something like this (load all shapefiles on openstreetmap in GeoDjango)

enter image description here

But however I can load single shapefile only (one shapefile at a time). Something like this

state.shp enter image description here boundary.shp enter image description here

I would like to combine both of my results in a single result as shown in QGIS output.

  • 1
    What do you mean by "project"? Do you mean change the map projection? Why have you posted three QGIS screenshots and no Django Admin screenshots? – Spacedman Jun 8 at 7:04
  • 2
    By project I mean to display it on openstreetmap map and have a look at updated section. – neferpitou Jun 8 at 7:22
  • 1
    As Spacedman said, the word "project" has a very specific meaning on this site, I suggest you replace is with "display" :). Similarly "shapefile" refers specifically to the file format, once you've loaded the shapefile into PostGIS it is a "geometry" or a "feature". Semantics aside, you might get an answer if you upload your Django models. – Alexander Jun 11 at 16:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.