[Geomoose-users] requests
Brent Fraser
bfraser at geoanalytic.com
Tue Jul 14 12:58:55 PDT 2015
Simon,
The first problem is that the data's .prj file say it is Geographic
coordinates, but it is not. GDAL's ogrinfo shows:
C:\>ogrinfo -so projeclatlongt.shp projeclatlongt
INFO: Open of `projeclatlongt.shp'
using driver `ESRI Shapefile' successful.
Layer name: projeclatlongt
Geometry: Polygon
Feature Count: 1365
Extent: (259877.196033, 9860466.644440) - (263487.695233, 9863572.068340)
Layer SRS WKT:
GEOGCS["GCS_WGS_1984",
DATUM["WGS_1984",
SPHEROID["WGS_84",6378137.0,298.257223563]],
PRIMEM["Greenwich",0.0],
UNIT["Degree",0.0174532925199433]]
The above extent is greater than the +/-180 degrees valid for
GCS_WGS_1984 so the data does not match the given coordinate system
definition (the magnitude of the values above suggest the units are
meters or feet). You need to find out the correct coordinate system of
the data.
Best Regards,
Brent Fraser
On 7/14/2015 11:18 AM, Simon Gathuri wrote:
> Thanxs for you response I have tried on that but no luck. Please help
> me display the attached shapefiles in geomoose
> I will highly appreciate
>
>
>
> On Tuesday, July 14, 2015 7:01 AM, Brent Fraser
> <bfraser at geoanalytic.com> wrote:
>
>
> Simon,
>
> Have a look at the mapserver section of the mapbook doc:
>
> http://docs.geomoose.org/2.7/docs/mapbook.html
>
> 1. Add a map-source with a <file> tag referencing your map file
> 2. Add a layer in the <catalog> section of the mapbook referencing
> your new map-source entry
>
> Best Regards,
> Brent Fraser
> On 7/13/2015 8:45 PM, Simon Gathuri wrote:
>> Hi Mark. I have tried to load my mapbook in geomoose. I was able to
>> load in mapserver as shown.
>> MAP
>> NAME parcels_map
>> STATUS ON
>> SIZE 420 300
>> EXTENT 489885 5450946 490904 5451637
>> UNITS METERS
>> SHAPEPATH "shapefiles"
>> IMAGECOLOR 255 255 255
>> WEB
>> TEMPLATE "template.html"
>> IMAGEPATH "C:\ms4w\Apache\htdocs\output"
>> IMAGEURL "/output/"
>> END
>>
>>
>> LAYER
>> NAME "boundaries"
>> DATA parcels
>> STATUS DEFAULT
>> TYPE POLYGON
>> CLASS
>> NAME "parcels_color"
>> COLOR 255 215 0
>> END
>> END
>>
>> # end of map file
>> END
>>
>> How do I change the code in geomoose to see my mapfile. Thanxs
>>
>>
>>
>>
>> _______________________________________________
>> Geomoose-users mailing list
>> Geomoose-users at lists.osgeo.org <mailto:Geomoose-users at lists.osgeo.org>
>> http://lists.osgeo.org/mailman/listinfo/geomoose-users
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geomoose-users/attachments/20150714/8a9f3969/attachment.html>
More information about the Geomoose-users
mailing list