I am trying to read to geopandas what looks like a legitimate shapefile:
gpd.read_file('https://github.com/altcoder/philippines-psgc-shapefiles/blob/master/source/2015/Municities.zip')
However, I am getting a driver error:
DriverError: '/vsimem/dff0663a4e584987848e40266f6b73e8' not recognized as a supported file format.
Searching unfortunately did not produce useful clues. I hope someone who knows geopandas or fiona could help.
When loading from GitHub, you need to pass a link to raw version of zip file. Otherwise, it links to GitHub page, not the file.
gpd.read_file('https://github.com/altcoder/philippines-psgc-shapefiles/raw/master/source/2015/Municities.zip')
Related
As a RE noob, I am trying to follow this blog post about reverse engineering Black Desert, but it seems like Scylla, a default plugin in x64dbg, is not working for me as it throws the error ("cannot dump image") as shown below.
The program I was trying to get the binary dump out of is the executable of Black Desert game (BlackDesert64.exe), and I am running the debugger on Windows10.
Any other buttons for Pick DLL, IAT Autosearch, or Get Imports also gave me nothing. What am I missing?
Any insight would be greatly appreciated. Please let me know if there is any other information I can add on for better understanding.
Make sure that, "Use PE header from disk" is active.
I'm trying to import or install MusicBrainz' database and I'm following this instruction.
My OS is Windows so I'm following Windows instruction. I've done up to number 4, but when I opened to configure settings.pl file(link) I couldn't understand what that file wants me to configure.
I think the lines looking like this
$g_schema_url = "$schema_base/admin/sql/CreateTables.sql";
is the part I need to change for the file to work, but I don't think I understand these lines.
I googled and found out that .pl files are the files written in a language called Perl. But I didn't download or install the language because the instruction didn't require me to. Should I? I really am a beginner so even I sound stupid I hope you can understand.
I'm working on Oracle 11.
I've never used MBZDB before, but I looked through the settings.pl and I don't believe for a standard install you should need to change anything. You should be able to move on to step 6.
Edit: I was incorrect: I failed to notice you are using an Oracle database. As a commenter posted, it looks like it will work best with MySQL. If you install that, though, you should be good to go.
I am using R3.1.2 for text analysis to extract entity(kind=person). i have loaded openNLP and openNLPmodels.en from http://datacube.wu.ac.at. but i get the following error.
Error in Maxent_Simple_Entity_Detector(language, kind, probs, model) :
Could not find model file for language 'en' and kind 'person'.
Apparently, package 'openNLPmodels.en' is installed
but does not provide this model.
What is the resolution?
Thanks
Sridevi
Let me provide the exact steps that worked for me. These steps assume you already have have OpenNLP, rJava libraries working.
Install openNLPmodels.en
install.packages("openNLPmodels.en", dependencies=TRUE, repos = "http://datacube.wu.ac.at/")
Navigate to the openNLPmodels.en library folder. For me, this was \filesrv\users\MYNAME\My Documents\R\win-library\3.4\openNLPmodels.en
Create a new folder within openNLPmodels.en called models
Visit the openNLP models page on sourceforge and download
two files: en-chunker.bin and en-ner-person.bin
Place those files in your models folder.
Install the openNLPmodels.en from http://datacube.wu.ac.at/src/contrib/. This package is no more available on CRAN. So, download is offline and install it on your R/Rstudio. It is working for me. ! Hurray !
I had the same issue and was able to resolve it installing the additional packages "RWeka" and "qdap". Additionally, ensure you have 'rJava' installed. In short, run the following and see if, after requiring the packages, you are able to run your code.
install.packages(c("NLP", "openNLP", "RWeka", "qdap", "rJava"))
as you have probably installed openNLPmodels.en and its loading properly. I went into the source code of parse.R of openNLP and found something like this
package <- "openNLPmodels.en"
model <- system.file("models/en-parser-chunking.bin",
package = package) .
Points to be noted ..
1) I am on a Linux machine with R version of 3.3.2. and
2) have installed version of openNLPmodels.en form
https://cran.r-project.org/src/contrib/Archive/openNLPmodels.en/ . to my surprise i didn't find "models/en-parser-chunking.bin" in its path.so i have downloaded the corresponding parser file. from http://opennlp.sourceforge.net/models-1.5/ and placed it in the folder called models. and was able to get it working.
parse_annotator <- Parse_Annotator()
## Compute the parse annotations only.
p <- parse_annotator(s, a2)
now this code worked for me.
Prior to this i as having similar error with.
annotate(s, Maxent_Chunk_Annotator(), a3)
#Error in Maxent_Simple_Chunker(language, probs, model) :
Could not find model file for language 'en'.
Apparently, package 'openNLPmodels.en' is installed
Now Guess what, i have given the path to model (chunker.bin file) in Maxent_Simple_Chunker and was able to get it work.
apologize for my poor formatting skills
all the parse and chunker code i used can be found in the documentation.if you want to reproduce the examples
I am trying to download the dump file (the 22GB zip file) from "https://developers.google.com/freebase/data".
It seems like the download link is not available.
Is it going to be available soon?
Thanks in advance.
Ok, I found the problem.
The link is broken, but the list of available dumps is available on the following page:
http://commondatastorage.googleapis.com/freebase-public
It is possible to download the dumps using the following link:
//commondatastorage.googleapis.com/freebase-public/rdf/
For example, the latest release at the time of this post is 'freebase-rdf-2014-11-23-00-00.gz' which can be downloaded using the following link:
http://commondatastorage.googleapis.com/freebase-public/rdf/freebase-rdf-2014-11-23-00-00.gz
Ghostscript 9.0 doesn't support validation of the digital signatures in PDF document when doing PDF to image conversion. Instead, there's a question mark on the digital signature, and Ghostscript reports "Sig is not yet implemented". I'm thinking to modify the source code to get rid of the question mark, but I don't have any ideas to where I should modify in thesource code. Could any one give the hints for that? Any response will be appreciated highly, thanks.
Have you already tested the very latest release (which is v9.02)? If so, have you also tested the current 'HEAD' revision of their source code?
If your problem persists with these versions, the preparatory thing to start with is to download the (current, which is v9.02) Ghostscript source code from here or even check it out from their Git repository.
What you are trying to do can only be located in one of the following two modules of the Ghostscript source code:
the (PDF) interpreter
the (image) output devices
So I would first recursively grep the sources for "not yet implemented" or similar expressions, taking into account that there may even be line breaks within the string. (***I doubt the quote you gave in your initial version of the question is accurate, because it contained at least one typo.)
If I didn't find anything in the first step, I'd get into touch with the Ghostscript developers themselves. They usually hang around in IRC on Freenode, channel #ghostscript. In general they are a very friendly and helpful bunch, and they'll surely be able to give you some hints about how to solve your problem if you know how to ask...