tag:blogger.com,1999:blog-3147006891212258908.post256763925205305733..comments2024-03-23T18:07:18.124+08:00Comments on MY QGIS MALAYSIA: Which is the best web mapping server for QGIS?Abbas AWhttp://www.blogger.com/profile/16258480446911971324noreply@blogger.comBlogger17125tag:blogger.com,1999:blog-3147006891212258908.post-47308432760186887512012-10-31T01:05:22.244+08:002012-10-31T01:05:22.244+08:00Since you have PostGIS, I am assuming you are more...Since you have PostGIS, I am assuming you are more interested in an Open Source option here. Frankly speaking, this is not my territory but nothing a Google search cannot do to help you out here. The_Open_3D_GIS_Project.pdf is a good paper (do a google search) telling the progress of 3D web-GIS and I'd go along it since it tinkers with MapServer, in fact, the software is even downloadable from http://sourceforge.net/projects/open3dgis/. I saw Glob3 at http://glob3.sourceforge.net/ as an alternative but then again, maybe what you need is GeoDove (do a google search for "geodove gis").Abbas AWhttps://www.blogger.com/profile/16258480446911971324noreply@blogger.comtag:blogger.com,1999:blog-3147006891212258908.post-6438153214217214082012-10-31T00:09:08.031+08:002012-10-31T00:09:08.031+08:00You are totally correct there.
Perhaps let me rep...You are totally correct there.<br /><br />Perhaps let me rephrase my question here.<br /><br />Assuming I have my map with x, y and z attributes in my PostGIS, what web application can I use to render it on an web application? I would like to be able to share it using a browser.<br /><br />Thanks!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3147006891212258908.post-12719048337670339472012-10-30T23:38:01.964+08:002012-10-30T23:38:01.964+08:00I have not the privilege to own spare servers on m...I have not the privilege to own spare servers on my own eventhough if they were spare computers I could make believe they were servers so I could answer this base on hands-on experience. However, on condition that you have a map with x, y and z attributes stored in a RDBMS server such as PostgreSQL-PostGIS not a web map server then your 3D application in your desktop computer e.g. QGIS-GRASS could retrieve that data in 3D. The web map server functions merely extracts that data from the RDBMS server to allow you to see in on the web. If you wanted to see it remotely you would configure your computer to the IP address of the RDBMS server not the web map server. This is the way it works. Conceptually, it is possible to install web application and RDBMS in one server but it won't be efficient and we want things to run efficiently on the web don't we so that is why they are usually installed in separate servers. Abbas AWhttps://www.blogger.com/profile/16258480446911971324noreply@blogger.comtag:blogger.com,1999:blog-3147006891212258908.post-63250717781442188392012-10-30T20:40:27.073+08:002012-10-30T20:40:27.073+08:00Good post over there.
However, if someone needs t...Good post over there.<br /><br />However, if someone needs to show a 3d map, which web map server supports 3d mapping?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3147006891212258908.post-59029100001632403952012-09-27T15:01:01.148+08:002012-09-27T15:01:01.148+08:00@Inner Me. Initially you say you added Malaysia ro...@Inner Me. Initially you say you added Malaysia road in GIS. I sure you can use the GIS to populate the road length attribute in the road layer...Looking at your last question, looks like you don't have a good road layer. You can try those Authorities suggested by Mr Abbas or you can download from openstreetmap - follow this link: http://downloads.cloudmade.com/asia/south-eastern_asia/malaysia#downloads_breadcrumbs<br />After downloading, the road data may not suit your need because 'shortest path' demands good road geometry and topology. Unless this is a big project where you have a big budget, I suggest you just import your start & end points into google map and get the length from there.<br /><br />Cheers<br />Rajoohttp://www.openstreetmap.org/user/Rajoonoreply@blogger.comtag:blogger.com,1999:blog-3147006891212258908.post-55106531831689438042012-09-25T08:06:25.417+08:002012-09-25T08:06:25.417+08:00>Do you have any idea where can I get the Malay...>Do you have any idea where can I get the Malaysia road shapefile with the length?<br />Federal roads:JKR HQ, State roads:JKR Negeri, Local roads: Local autorities<br /><br />>how do I run the shortest_path function...?<br />1. Look up help under the shortest path module<br />2. Google search "QGIS shortest path module"<br />3. Alexander Bruy at GIS-Lab link under links<br /><br />>Help?<br />Both layers must be configured to the same coordinate reference system you want or else one goes left, the other, right (figure of speech)Abbas AWhttps://www.blogger.com/profile/16258480446911971324noreply@blogger.comtag:blogger.com,1999:blog-3147006891212258908.post-5513305384200241182012-09-25T01:22:09.499+08:002012-09-25T01:22:09.499+08:00I found this link that kinda relates to my #2:
htt...I found this link that kinda relates to my #2:<br />http://postgis.refractions.net/pipermail/postgis-users/2008-November/021893.html<br /><br />However, I tried running that in SQL, but it still doesn't allow me to export.. (SQL only showed me an empty cell on running that...)Inner Mehttps://www.blogger.com/profile/17580920484482004931noreply@blogger.comtag:blogger.com,1999:blog-3147006891212258908.post-32331071860393267022012-09-25T01:09:28.673+08:002012-09-25T01:09:28.673+08:00Hi Abbas,
2 questions:
1. I'm trying to use ...Hi Abbas,<br /><br />2 questions:<br /><br />1. I'm trying to use shortest path, which is actually done from pgrouting (http://pgrouting.org/docs/foss4g2008/ch07.html#shortest-path-dijkstra-core-function)<br /><br />The Malaysia road that I have does not have a length (cost) field. however according to pgrouting, I need to have:<br />length::double precision as cost<br /><br />Do you have any idea where can I get the Malaysia road shapefile with the length? or if length is optional, then how do I run the shortest_path function...?<br /><br />2. I remember that you asked me to merge both layers (roads and my points to calc the distance). However when I tried to merge them, i get "Merged layers must all be same type of geometry (point !=multilinestring). Googling didn't give me much direction.. <br /><br />Help? :)<br /><br />Again, thanks :)Inner Mehttps://www.blogger.com/profile/17580920484482004931noreply@blogger.comtag:blogger.com,1999:blog-3147006891212258908.post-8695753456585550402012-09-24T19:24:52.553+08:002012-09-24T19:24:52.553+08:00OK my exposure to the next tier i.e. web GIS is st...OK my exposure to the next tier i.e. web GIS is still weak.I thought it was a norm for most GIS software to transform their defacto format to the .KML format to get it web gis but WOW! did not know the QGIS server renders it directly which makes it so juicy. However, I was told it is not so sophisticated like other established ones which I won't be surprised since it is fairly new but if it delivers then what the hell why not use it? It seems to synergize the qgis file all the way to the webgis level. I am still new on this subject so what things you tell here are very exciting.Abbas AWhttps://www.blogger.com/profile/16258480446911971324noreply@blogger.comtag:blogger.com,1999:blog-3147006891212258908.post-60009391771842760112012-09-24T15:30:18.510+08:002012-09-24T15:30:18.510+08:00Pak Abbas,
The title of your post talks about the...Pak Abbas,<br /><br />The title of your post talks about the "best web mapping server for QGIS." But reading your post about the various options, it seems to me that you're really talking about the various server options for taking the shapefiles (or other files) that QGIS can prepare for overlaying on a base map on a browser. For example, both MapServer and GeoServer use OpenLayers as their rendering engine. In GeoServer, since OpenLayers cannot render a shapefile directly, GeoServer (as I understand it) converts a shapefile (with its styling from an SLD file) to a graphic that can be used by OpenLayers to overlay on top of a base map. I have not had the chance of using MapServer myself. You can also use OpenLayers directly for making a web map, without using MapServer or GeoServer. But you have to convert the shapefiles you want to plot into formats that OpenLayers can understand, namely KML or GeoRSS. I usually make KML files from shapefiles that I have created and styled using QGIS.<br /><br />However, there is one option, which unfortunately I have not used, that can take a QGIS project (*.qgs file) directly and render it on a web browser. That option is the new QGIS Server, which seems to work best on a Linux server. The documentation for QGIS Server isn't very good, but in her blog, Anita Graser (Underdark) has shown how to install QGIS Server on Ubuntu (http://underdark.wordpress.com/2012/03/30/qgis-server-on-ubuntu-step-by-step/) and Windows 7 (http://underdark.wordpress.com/2012/04/06/qgis-server-on-windows7-step-by-step/). The beauty of the QGIS server is that you can upload a *.qgs file directly to the server, and it will convert it directly to a web map !!! I am trying to find the guts (and time) to try it on my Ubuntu 10.04 map server!<br /><br />Cheers!<br /><br />HowardHowardhttps://www.blogger.com/profile/12672308448529605680noreply@blogger.comtag:blogger.com,1999:blog-3147006891212258908.post-31139566732694230632012-09-23T23:47:13.070+08:002012-09-23T23:47:13.070+08:00Maybe I was to harsh but myself too GIS is not my ...Maybe I was to harsh but myself too GIS is not my core, it's just a jizsaw puzzle for me, a game, sometimes I win, many times I lose. OK to help you out, all modules are under Fetch Python Plugins so user decides what user wants and downloads. Once downloaded, it may not activate and to do, that go to Manage Plugins, find the plugin you downloaded and select it, Some plugins then end up come under Plugins, Vector or Raster. It is not necessary to download, everything the ones you need. Delimited Text layer and shortest path came from there.Abbas AWhttps://www.blogger.com/profile/16258480446911971324noreply@blogger.comtag:blogger.com,1999:blog-3147006891212258908.post-1390022724337048442012-09-23T20:49:55.537+08:002012-09-23T20:49:55.537+08:00Don't get me wrong, I've been trying to us...Don't get me wrong, I've been trying to use pgrouting the entire day to try to accomplish the same thing - to no avail.<br /><br />I'm a system engineer and I was told to pick up GIS for a customer's requirement.. Hence GIS is really not my core. <br /><br />Just needed some extra guidance on the right modules - it's too many modules in QGIS since it's my 5th day using it.. :)<br /><br />Anyhow, I really appreciate your help. Still working through it :)Inner Mehttps://www.blogger.com/profile/17580920484482004931noreply@blogger.comtag:blogger.com,1999:blog-3147006891212258908.post-73647137641665688712012-09-23T20:06:53.979+08:002012-09-23T20:06:53.979+08:00It is obvious to me that you do not want to try ou...It is obvious to me that you do not want to try out modules but want to be spoon-fed. In IT, you will never learn this way. Experiment and make it an adventure. Anyway, use geoprocessing tools/Union. Abbas AWhttps://www.blogger.com/profile/16258480446911971324noreply@blogger.comtag:blogger.com,1999:blog-3147006891212258908.post-19459325983130482472012-09-23T19:53:24.234+08:002012-09-23T19:53:24.234+08:00hmmm.. how do i run the merge layers? :P it doesnt...hmmm.. how do i run the merge layers? :P it doesnt have the shortest path module as part of it... :OInner Mehttps://www.blogger.com/profile/17580920484482004931noreply@blogger.comtag:blogger.com,1999:blog-3147006891212258908.post-1394673134652905182012-09-23T19:47:32.661+08:002012-09-23T19:47:32.661+08:00Hehhee, sounds reasonable ;)
Let me give that a t...Hehhee, sounds reasonable ;)<br /><br />Let me give that a try and I'll let you know whether it works! :)Inner Mehttps://www.blogger.com/profile/17580920484482004931noreply@blogger.comtag:blogger.com,1999:blog-3147006891212258908.post-12665859659498937112012-09-23T19:44:11.643+08:002012-09-23T19:44:11.643+08:00The term 'knowledgeable' is relative and I...The term 'knowledgeable' is relative and I am but a newbie to someone more experience than me. Let me muddle my way through:<br />1. transform the origin pt from csv to spatial using delimited text layer.<br />2. do the same again for destination pt.<br />3. merge both layers<br />4. using the merge layer, use shortest path module for every OD but configure criteria for length not time<br />5. I am not sure for this one but create a new column and put the measured distance in a row that represents 0D from one pt.<br /><br />If this works, you owe me 2 IKEA currypuff, my service charge :-D Abbas AWhttps://www.blogger.com/profile/16258480446911971324noreply@blogger.comtag:blogger.com,1999:blog-3147006891212258908.post-89371270056185193972012-09-23T17:41:25.032+08:002012-09-23T17:41:25.032+08:00Hi Abbas,
It is a surprise to know that a fellow ...Hi Abbas,<br /><br />It is a surprise to know that a fellow Malaysian is so knowledgable in GIS! :)<br /><br />I am very new with GIS and I have a quick question:<br /><br />1. I am using QGIS currently, with PostGIS as my DB<br />2. I have roads in malaysia added into my PostGIS.<br />3. I have an excel file (CSV) with the source point (in geometry) and destination point (in geometry). I want to calculate the distance between these points (using the roads in malaysia as the path), and save the distance back into a column in a table.<br /><br />Can you give me some guidance? :)Inner Mehttps://www.blogger.com/profile/17580920484482004931noreply@blogger.com