Hi,<br><br><a href="http://www.maptools.org/ms4w/index.phtml?page=downloads.html">http://www.maptools.org/ms4w/index.phtml?page=downloads.html</a><br><br><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

<div class="gmail_quote"><div class="im">On Sun, Jan 2, 2011 at 10:09 PM, Tyler Mitchell (OSGeo) <span dir="ltr"><<a href="mailto:tmitchell@osgeo.org" target="_blank">tmitchell@osgeo.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">


Have you tried installing ms4w or fwtools and using the ogr2ogr command line<br></blockquote></div></div></blockquote><div><br>According the the website <br><br><h1>MapServer for Windows - MS4W</h1>

<p>Welcome to MS4W, the no fuss installer for setting up MapServer on 
Microsoft Windows platforms.  The purpose of this package is to allow 
all levels of MapServer users to quickly install a working environment 
for MapServer development on Windows.  It is also an environment for 
packaging and distributing MapServer applications.</p><p>....</p><p>What  and why would i need to set up a MapServer? <br></p><p>I just want to convert the .gml file into the same projection as the canvec .shp files and most other .shp files<br>

</p>I dont have a "Apache Server"<br><br>.... but anyway, it appears that <br><br>c:<br>cd\<br>cd\try5-gdal<br>mkdir shp<br>ogr2ogr shp NL_BS/NL_BS.gml<br><br>takes forever to process... but no errors.<br>the file "NL_BS.gml"  and the file "NL_BS.xsd" needs to be in a sub folder called "NL_BS"<br>

<br>The files DO actually convert :)  and puts a bunch of .shp files in the 'shp' directory :)<br><br>"MapServer"  or "MS4W"   is not needed<br>....and the map projection is still wrong.<br>But since ive now messed up the 'default projection'   I'll need to remove Qgis program, and re-install it.<br>

<br>Thanks :)<br>Thats one step closer i think<br><br>cheers,<br>sam<br><br> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div class="gmail_quote">

<div class="im"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
tool to convert?</blockquote></div><div>nope, not yet.   Do these run automatically in the background?<br>and are these installed in QGIS 1.6?    If not, then perhaps they can be added for the 1.7 version?<br> <br></div>

<div class="im"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
  Lots of examples in my book (if you have it),</blockquote></div><div><br>Where do i download your book?<br> </div><div class="im"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">


 otherwise<br>
something like this:<br>
<br>
mkdir shp<br>
ogr2ogr shp NL_BS/NL_BS.gml<br>
--- converts from gml into shapefile format in a folder called shp.  ogr2ogr<br>
converts by default into shapefile.<br></blockquote></div><div><br>Thanks,  but i get this error<br><a href="http://picasaweb.google.com/lh/photo/a3GY5f8JWbcEVI25ICM2MQ?feat=directlink" target="_blank">http://picasaweb.google.com/lh/photo/a3GY5f8JWbcEVI25ICM2MQ?feat=directlink</a><br>


<br>then staying in the same directory, i get this error<br><a href="http://picasaweb.google.com/lh/photo/AY_DLof5Y4Fd4chwR4DOEA?feat=directlink" target="_blank">http://picasaweb.google.com/lh/photo/AY_DLof5Y4Fd4chwR4DOEA?feat=directlink</a><br>


 </div><div class="im"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
This seemed to work for me!  Ran for a minute, gave a few errors about<br>
geometry type "Surface", but otherwise looks okay I think.  I'm not that<br>
familiar with the data.<br>
<br>
Not sure, but I'd bet that ogr2ogr is distributed with QGIS on Windows... </blockquote></div><div><br>I bet it is too .... yet it does not work and change the projection of the data. :)<br> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">



<br>
Hope it helps,<br>
<font color="#888888">Tyler<br></font></blockquote><div><br>Thanks anyway, i'll try installing these programs and assume they work in the background automatically.<br><br>cheers.<br><font color="#888888">sam<br> </font></div>

<div><div></div><div class="h5"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<font color="#888888">
</font><div><div></div><div><br>
On January 2, 2011 11:08:46 am you wrote:<br>
> Hi,<br>
> 1st off,  WOW  im just exploring the version that does work.<br>
> Quantum GIS - Mimas, and it's awesome :)<br>
><br>
> Apparently  the .gml files from canvec is supposed to work with Copiapo<br>
> 1.6.0 to be able to open up these .gml files<br>
> <a href="http://ftp2.cits.rncan.gc.ca/pub/canvec/province_gml/nl/" target="_blank">http://ftp2.cits.rncan.gc.ca/pub/canvec/province_gml/nl/</a><br>
> (Tyler said it does open up fine)<br>
><br>
> However, i get the error<br>
> "Entry Point Not Found"<br>
> The procedure entry point ?next ...... (code) could not be located in the<br>
> dynamic library QtCor4.dll<br>
><br>
> In english, that means that i dont have Qt installed and running.  (I don't<br>
> really want to install it, sorry).   Im using windows XP.. .. I'll go ahead<br>
> and install it, but only if i need to.<br>
><br>
> So the solution is to back-track the the version 1.5.0, so i installed<br>
> that, and got the same error.<br>
> I'll try version 1.4.0 and see if that works. .. no luck, i don't know how<br>
> to compile the TAR file<br>
> <a href="http://download.osgeo.org/qgis/src/qgis_1.4.0.tar.gz" target="_blank">http://download.osgeo.org/qgis/src/qgis_1.4.0.tar.gz</a><br>
><br>
> Thanks,<br>
> Sam<br>
><br>
> P.S, if anyone is bored, my task is rather simple.<br>
> Download all of the canvec .gml files, then convert them to .shp format<br>
> and save each map feature as a separate .shp file (province size)<br>
> ... then zip and upload it to some website, like <a href="http://mediafire.com" target="_blank">mediafire.com</a> or any other<br>
> file sharing site.<br>
><br>
> Where the file becomes bigger than 200 megs (zip compressed), (as  a single<br>
> map feature), geographycally slice the file into smaller components.   (I<br>
> know that OpenJUMP can do this, but it would be fun to have it all in the<br>
> same software..<br>
> .... so at minimun.  all i need is to be able to Open up the .gml file so<br>
> it's in the same map-projection as the canvec NTS .shp files, and save them<br>
> on my hard-drive as a .shp file, then i can work with it from there...<br>
><br>
><br>
> This is an example of the canvec .gml file that got converted using<br>
> <a href="http://mygeodata.eu" target="_blank">mygeodata.eu</a> and loaded to <a href="http://koordinates.com" target="_blank">koordinates.com</a><br>
> <a href="http://picasaweb.google.com/lh/photo/PGD9dGCvIVAHwC5kHHqHOg?feat=directlink" target="_blank">http://picasaweb.google.com/lh/photo/PGD9dGCvIVAHwC5kHHqHOg?feat=directlink</a><br>
><br>
> and here's the example showing the .gml file, (and the .shp file which is<br>
> correct) loaded to QGIS Mimas<br>
> <a href="http://picasaweb.google.com/lh/photo/DPc4KpmlEWSytHidIR7pLA?feat=directlink" target="_blank">http://picasaweb.google.com/lh/photo/DPc4KpmlEWSytHidIR7pLA?feat=directlink</a><br>
><br>
> I'll keep on trying, other options, and dig through the archives, as<br>
> perhaps someone else has had this problem before.<br>
><br>
> Cheers,<br>
> Sam<br>
><br>
> ---<br>
> Across Canada Trails - Beyond 2017 - The National Trails Network<br>
> Victoria, BC Canada<br>
><br>
> Twitter: @Acrosscanada<br>
> Blog: <a href="http://acrosscanadatrails.posterous.com/" target="_blank">http://acrosscanadatrails.posterous.com/</a><br>
> Facebook: <a href="http://www.facebook.com/sam.vekemans" target="_blank">http://www.facebook.com/sam.vekemans</a><br>
> Skype: 'Sam Vekemans'<br>
><br>
> Member, CommonMap Inc.  <a href="http://commonmap.org/" target="_blank">http://commonmap.org/</a><br>
> IRC: irc://<a href="http://irc.oftc.net" target="_blank">irc.oftc.net</a> #CommonMap<br>
> Also find us on Facebook, Twitter and LinkedIn<br>
</div></div></blockquote></div></div></div><br><div style="display: inline;"></div><input type="hidden"><input type="hidden"><div>
</div>
</blockquote></div><br><div style="visibility: hidden; display: inline;" id="avg_ls_inline_popup"></div><style type="text/css">#avg_ls_inline_popup {  position:absolute;  z-index:9999;  padding: 0px 0px;  margin-left: 0px;  margin-top: 0px;  width: 240px;  overflow: hidden;  word-wrap: break-word;  color: black;  font-size: 10px;  text-align: left;  line-height: 13px;}</style><input id="gwProxy" type="hidden"><input onclick="jsCall();" id="jsProxy" type="hidden"><div id="refHTML">

</div>