Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I've developed many GIS Applications using ESRI ArcGIS 9.3 and 10.0 for ASP.NET .

I'm wondering if i can do a GIS application using my SHAPE files and Pure PHP scripting .

I've googled for that purpose , found many Map Servers solutions , but they were a little bit complicated , my question is : can i have a little Web Application to mange the shape files ,create tiles for them ,deals with Aerial Images, and then display map layers using OpenLayers for example ? i need a lite solution (No php extensions installing required - NO special setup ...etc) .

Thank you .

share|improve this question
add comment

2 Answers 2

up vote 1 down vote accepted

It might not answer your question but is there a reason why you wouldn't like to use something existing for that? Geoserver for example, that will allow you to manage your shapes and to create the tiles.

Then you can always develop your site in php and embed your maps using OpenLayers.

share|improve this answer
    
Well , The issue is i have many projects and all i have is a shared hosting , so i can't do any kind of installation or adding additional libraries , just a small web application is required to manage my issues –  Mathboy Mar 9 '12 at 20:34
    
@Ashraf I think you're out of luck –  canisrufus Mar 9 '12 at 20:46
    
If you can change hosting, webfaction allow their users on shared hosting to install lots of different programs, including postgresql/postgis. And they have the nicest, friendliest support too..... –  djq Mar 9 '12 at 21:29
    
@Ashraf Easy, cheap, good. Pick two. You're gonna have to invest more if you want to do more. Whether it be time, money or some other resource. –  R.K. Mar 10 '12 at 2:26
2  
@Ashraf Throughout the years, I have seen people creating shapefile readers over and over and over and they keep making the same mistakes. Yes, you are right that you can make a pure PHP shapefile reader.AFAIK, there is no good one.At the end, I always ask why. Just use shapelib or gdal and save yourself some trouble.From the code you sent,look at how it handles geometries. Then compare it with SHPReadObject() from here svn.osgeo.org/gdal/trunk/gdal/ogr/ogrsf_frmts/shape/shpopen.c The difference? It doesn't handle multipatch, Zs, arcs, etc etc etc –  Ragi Yaser Burhum Mar 12 '12 at 6:51
show 1 more comment

Use your GDAL's Fusion Table driver to load your shapefiles into Google Fusion Tables. The GFT developer docs are pretty self explanatory.

You can then use standard php code (even in your shared hosting environment) to write your webapp. If you want more functionality, you are going to have to move to something where you have more control of your environment. I would start with the free Amazon EC2 micro-instances.

share|improve this answer
    
Again , it's a little bit complicated .. i'm looking for something more easier .. –  Mathboy Mar 9 '12 at 21:06
    
Signup for GFT, load the data using GDAL, and include the Google Map. That's as easy as it gets for a shared hosting environment. –  Ragi Yaser Burhum Mar 9 '12 at 21:17
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.